Export (0) Print
Expand All
Expand Minimize

MessageBox.Show Method

Displays a message box.

Name Description
MessageBox.Show (String) Displays a message box with specified text.

Supported by the .NET Compact Framework.

MessageBox.Show (IWin32Window, String) Displays a message box in front of the specified object and with the specified text.
MessageBox.Show (String, String) Displays a message box with specified text and caption.

Supported by the .NET Compact Framework.

MessageBox.Show (IWin32Window, String, String) Displays a message box in front of the specified object and with the specified text and caption.
MessageBox.Show (String, String, MessageBoxButtons) Displays a message box with specified text, caption, and buttons.
MessageBox.Show (IWin32Window, String, String, MessageBoxButtons) Displays a message box in front of the specified object and with the specified text, caption, and buttons.
MessageBox.Show (String, String, MessageBoxButtons, MessageBoxIcon) Displays a message box with specified text, caption, buttons, and icon.
MessageBox.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.
MessageBox.Show (String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box with the specified text, caption, buttons, icon, and default button.

Supported by the .NET Compact Framework.

MessageBox.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.
MessageBox.Show (String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions) Displays a message box with the specified text, caption, buttons, icon, default button, and options.
MessageBox.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.
MessageBox.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.
MessageBox.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.
MessageBox.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.
MessageBox.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.
MessageBox.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.
MessageBox.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.
MessageBox.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.
MessageBox.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.
MessageBox.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.

Community Additions

ADD
Show:
© 2014 Microsoft