Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
MessageBox Class
Show Method
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
MessageBox..::.Show Method

Displays a message box.

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkShow(String)Displays a message box with specified text.
Public methodStatic memberShow(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.
Public methodStatic memberSupported by the .NET Compact FrameworkShow(String, String)Displays a message box with specified text and caption.
Public methodStatic memberShow(IWin32Window, String)Displays a message box in front of the specified object and with the specified text.
Public methodStatic memberShow(String, String, MessageBoxButtons)Displays a message box with specified text, caption, and buttons.
Public methodStatic memberShow(IWin32Window, String, String)Displays a message box in front of the specified object and with the specified text and caption.
Public methodStatic memberShow(String, String, MessageBoxButtons, MessageBoxIcon)Displays a message box with specified text, caption, buttons, and icon.
Public methodStatic memberShow(IWin32Window, String, String, MessageBoxButtons)Displays a message box in front of the specified object and with the specified text, caption, and buttons.
Public methodStatic memberSupported by the .NET Compact FrameworkShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)Displays a message box with the specified text, caption, buttons, icon, and default button.
Public methodStatic memberShow(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon)Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon.
Public methodStatic memberShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions)Displays a message box with the specified text, caption, buttons, icon, default button, and options.
Public methodStatic memberShow(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.
Public methodStatic memberShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean)Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
Public methodStatic memberShow(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.
Public methodStatic memberShow(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.
Public methodStatic memberShow(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.
Public methodStatic memberShow(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.
Public methodStatic memberShow(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.
Public methodStatic memberShow(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.
Public methodStatic memberShow(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.
Public methodStatic memberShow(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.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker