Displays a message box that can contain text, buttons, and symbols that inform and instruct the user.
Object
MessageBox
[Visual Basic] Public Class MessageBox [C#] public class MessageBox [C++] public __gc class MessageBox [JScript] public class MessageBox
To display a message box, call the static (in Visual Basic Shared) method Show. The title, message, buttons, and icons displayed on the message box are determined by parameters that you pass to this method.
Namespace: System.WinForms
Assembly: System.WinForms.dll