MessageBox.Show Method
.NET Framework 4.5
Displays a message box.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Show(String) | Displays a message box with specified text. |
|
Show(IWin32Window, String) | Displays a message box in front of the specified object and with the specified text. |
|
Show(String, String) | Displays a message box with specified text and caption. |
|
Show(IWin32Window, String, String) | Displays a message box in front of the specified object and with the specified text and caption. |
|
Show(String, String, MessageBoxButtons) | Displays a message box with specified text, caption, and buttons. |
|
Show(IWin32Window, String, String, MessageBoxButtons) | Displays a message box in front of the specified object and with the specified text, caption, and buttons. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon) | Displays a message box with specified text, caption, buttons, and icon. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon) | Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) | Displays a message box with the specified text, caption, buttons, icon, and default button. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) | Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, and default button. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions) | Displays a message box with the specified text, caption, buttons, icon, default button, and options. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions) | Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, default button, and options. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, String) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and Help keyword. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, String) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and Help keyword. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator. |
|
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator, Object) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator, and Help topic. |
|
Show(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator, Object) | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator, and Help topic. |
Show: