NUnitForms Class Library

ControlTester.FireEvent Method (String, Object[])

Simulates firing of an event by the control being tested.

[Visual Basic]
Overloads Public Sub FireEvent( _
   ByVal eventName As String, _
   ParamArray args As Object() _
)
[C#]
public void FireEvent(
   string eventName,
   params object[] args
);

Parameters

eventName
The name of the event to fire.
args
The optional arguments required to construct the EventArgs for the specified event.

See Also

ControlTester Class | NUnit.Extensions.Forms Namespace | ControlTester.FireEvent Overload List