Control.FindForm Method ()
.NET Framework (current version)
Retrieves the form that the control is on.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
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 GroupBox control, and the GroupBox is on a Form, the RadioButton control's Parent is the GroupBox and the GroupBox control's Parent is the Form.
UIPermission
for all windows to call this method. Associated enumeration: AllWindows value of UIPermissionWindow.
.NET Framework
Available since 1.1
Available since 1.1
Show: