| Visual Basic (Declaration) | |
|---|---|
Overloads Public Sub Show( _ ByVal owner As IWin32Window _ ) | |
| C# | |
|---|---|
public void Show( IWin32Window owner ) | |
Parameters
- owner
- Any object that implements System.Windows.Forms.IWin32Window and represents the top-level window that will own this form.
| Exception | Description |
|---|---|
| System.InvalidOperationException | The form being shown is already visible. -or- The form specified in the owner parameter is the same as the form being shown. -or- The form being shown is disabled. -or- The form being shown is not a top-level window. -or- The form being shown as a dialog box is already a modal form. -or- The current process is not running in user interactive mode (for more information, see System.Windows.Forms.SystemInformation.UserInteractive). |