[]
Shows the dialog window.
DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon)
Type | Name | Description |
---|---|---|
IWin32Window | owner | Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box. |
string | text | The text to display in the message box. |
string | caption | The text to display in the title bar of the message box. |
MessageBoxButtons | buttons | One of the MessageBoxButtons values that specifies which buttons to display in the message box. |
MessageBoxIcon | icon | One of the MessageBoxIcon values that specifies which icon to display in the message box. |
Type | Description |
---|---|
DialogResult | One of the DialogResult values. |