NUnitForms Class Library

Finder.Parent Method 

Finds the parent of a Control or MenuItem.

[Visual Basic]
Public Function Parent( _
   ByVal o As Object _
) As Object
[C#]
public object Parent(
   object o
);

Parameters

o
the Control or MenuItem

Return Value

The parent of the Control or MenuItem

Remarks

Necessary only because Control and MenuItem don't have a shared base class.

See Also

Finder Class | NUnit.Extensions.Forms Namespace