NUnitForms Class Library

ControlTester Constructor (String, Form)

Creates a ControlTester that will test controls with the specified name on the specified form.

[Visual Basic]
Overloads Public Sub New( _
   ByVal name As String, _
   ByVal form As Form _
)
[C#]
public ControlTester(
   string name,
   Form form
);

Parameters

name
The name of the control to test.
form
The form to test.

Remarks

If the name is unique, you can operate on the tester directly, otherwise you should use the indexer or Enumerator properties to access each separate control.

See Also

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