[]
Shows the form as a modal dialog box with the specified owner.
public DialogResult ShowDialog(IWin32Window owner)
Public Function ShowDialog(owner As IWin32Window) As DialogResult
| Type | Name | Description |
|---|---|---|
| IWin32Window | owner | Any object that implements System.Windows.Forms.IWin32Window and represents the top-level window that will own the modal dialog box. |
| Type | Description |
|---|---|
| DialogResult | One of the DialogResult values. |