Retrieves the form that the control is on.
Syntax
Visual Basic (Declaration) | |
---|
<UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows Or _
UIPermissionWindow.SafeTopLevelWindows Or _
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand,
Unrestricted=False)>
Public Function FindForm() As Form |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
Dim value As Form
value = instance.FindForm() |
C# | |
---|
[UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows |
UIPermissionWindow.SafeTopLevelWindows |
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand,
Unrestricted=false)]
public Form FindForm() |
C++/CLI | |
---|
[UIPermissionAttribute(Window=UIPermissionWindow.SafeSubWindows |
UIPermissionWindow.SafeTopLevelWindows |
UIPermissionWindow.AllWindows,
Clipboard=UIPermissionClipboard.NoClipboard,
Action=SecurityAction.Demand,
Unrestricted=false)]
public:
Form^ FindForm(); |
Return Value
The
System.Windows.Forms.Form that the control is on.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also