In The Hand LtdIn The Hand
FindForm Method (c)
NamespacesInTheHand.Windows.FormsControlHelperFindForm(Control)
.NET Components for Mobility
Retrieves the Form that the control is on.
Declaration Syntax
C#Visual Basic
public static Form FindForm(
	Control c
)
Public Shared Function FindForm ( _
	c As Control _
) As Form
Parameters
c (Control)
The Control.
Return Value
The Form that the control is on.
Remarks
The control's Parent property value might not be the same as the Form returned by FindForm method. For example, if a RadioButton control is contained within a Panel control, and the Panel is on a Form, the RadioButton control's Parent is the Panel and the Panel control's Parent is the Form.

Assembly: InTheHand.Windows.Forms (Module: InTheHand.Windows.Forms) Version: 7.0.0.0