How to use winforms
- windows forms show
- windows forms showdialog
- windows forms show message box
- windows forms show image
Windows form design templates c...
Winforms download
Form.Show(IWin32Window) Method
Shows the form with the specified owner to the user.
Parameters
Exceptions
InvalidOperationException
The form being shown is already visible.
-or-
The form specified in the 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 UserInteractive).
Remarks
You can use this method to display a non-modal form.
When you use this method, the Owner property of the form is set to . The non-modal form can use the Owner property to get information about the owning form. Calling this method is identical to setting the Owner property of the non-modal and then calling the Show() method.
Showing the form is equivalent to setting the Visible property to .
After the Show method is called, the Visible property returns a value of until the Hide method is called.
Applies to
See also
- windows forms show console
- windows forms show toolbox