Displays a message box with specified text, caption, and style.
[Visual Basic] Overloads Public Shared Function Show( _ ByVal text As String, _ ByVal caption As String, _ ByVal style As Integer _ ) As DialogResult [C#] public static DialogResult Show( string text, string caption, int style ); [C++] public: static DialogResult Show( String* text, String* caption, int style ); [JScript] public static function Show( text : String, caption : String, style : int ) : DialogResult;
One of the DialogResult values.
MessageBox Class | MessageBox Members | System.WinForms Namespace | MessageBox.Show Overload List