MessageBox.Show Method

 

Displays a message box.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticShow(IWin32Window, String)

Displays a message box in front of the specified object and with the specified text.

System_CAPS_pubmethodSystem_CAPS_staticShow(IWin32Window, String, String)

Displays a message box in front of the specified object and with the specified text and caption.

System_CAPS_pubmethodSystem_CAPS_staticShow(IWin32Window, String, String, MessageBoxButtons)

Displays a message box in front of the specified object and with the specified text, caption, and buttons.

System_CAPS_pubmethodSystem_CAPS_staticShow(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon)

Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(String)

Displays a message box with specified text.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String)

Displays a message box with specified text and caption.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButtons)

Displays a message box with specified text, caption, and buttons.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButtons, MessageBoxIcon)

Displays a message box with specified text, caption, buttons, and icon.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)

Displays a message box with the specified text, caption, buttons, icon, and default button.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions)

Displays a message box with the specified text, caption, buttons, icon, default button, and options.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean)

Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

System_CAPS_pubmethodSystem_CAPS_staticShow(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.

Return to top
Show: