System.Windows.Forms 1.0.5000.0 2.0.0.0 System.Object You cannot create a new instance of the class. To display a message box, call the static method . The title, message, buttons, and icons displayed in the message box are determined by parameters that you pass to this method. Displays a message box that can contain text, buttons, and symbols that inform and instruct the user. Method System.Windows.Forms.DialogResult By default, the message box displays an OK button. The message box does not contain a caption in the title. Displays a message box with specified text. One of the values. The text to display in the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult By default, the message box displays an OK button. Displays a message box with specified text and caption. One of the values. The text to display in the message box. The text to display in the title bar of the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. By default, the message box displays an OK button. The message box does not contain a caption in the title. Displays a message box in front of the specified object and with the specified text. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can have a maximum of three buttons on the message box. Displays a message box with specified text, caption, and buttons. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. By default, the message box displays an OK button. Displays a message box in front of the specified object and with the specified text and caption. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can have a maximum of three buttons on the message box. Displays a message box with specified text, caption, buttons, and icon. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can have a maximum of three buttons on the message box. Displays a message box in front of the specified object and with the specified text, caption, and buttons. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can have a maximum of three buttons on the message box. Displays a message box with the specified text, caption, buttons, icon, and default button. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can have a maximum of three buttons on the message box. Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can have a maximum of three buttons on the message box. Displays a message box with the specified text, caption, buttons, icon, default button, and options. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.DialogResult You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can have a maximum of three buttons on the message box. Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, and default button. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. 1.0.5000.0 2.0.0.0 Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. When the user clicks the Help button, the form that owns the message box (or the active form) receives the event. Handle the event to perform custom Help actions. Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. true to show the Help button; otherwise, false. The default is false. Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. When the user clicks Help button, the Help file specified in the parameter is opened. The form that owns the message box (or the active form) also receives the event. The parameter can be of the form C:\path\sample.chm or /folder/file.htm. Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. The path and name of the Help file to display when the user clicks the Help button. Method System.Windows.Forms.DialogResult You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can have a maximum of three buttons on the message box. Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, default button, and options. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values the specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. 1.0.5000.0 2.0.0.0 Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. When the user clicks the Help button, the Help file specified in the parameter is opened and the Help keyword topic identified by the parameter is displayed. The form that owns the message box (or the active form) also receives the event. 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. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. The path and name of the Help file to display when the user clicks the Help button. The Help keyword to display when the user clicks the Help button. Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. When the user clicks the Help button, the help file specified in the parameter is opened and the Help content identified by the parameter is displayed. The form that owns the message box (or the active form) also receives the event. Compiled Help files provide table of contents, index, search, and keyword links in pages. You can use the following values for : , , , or . The parameter can be of the form C:\path\sample.chm or /folder/file.htm. Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. The path and name of the Help file to display when the user clicks the Help button. One of the values. Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. When the user clicks the Help button, the Help file specified in the parameter is opened. The form that owns the message box (or the active form) also receives the event. The parameter can be of the form C:\path\sample.chm or /folder/file.htm. Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. The path and name of the Help file to display when the user clicks the Help button. Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. When the user clicks the Help button, the Help file specified in the parameter is opened and the Help content identified by the parameter is displayed. The form that owns the message box (or the active form) also receives the event. Compiled help files provide table of contents, index, search, and keyword links in pages. You can use the following values for : , , , or . You can use to provide further refinement of the command. If the value specified in the parameter is , , or , this value should be null. If the parameter references , this value should reference an object that contains the numeric value of the topic to display. The parameter can be of the form C:\path\sample.chm or /folder/file.htm. 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. One of the values. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. The path and name of the Help file to display when the user clicks the Help button. One of the values. The numeric ID of the Help topic to display when the user clicks the Help button. Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level owner. When the user clicks the Help button, the Help file specified in the parameter is opened and the Help keyword topic identified by the parameter is displayed. The form that owns the message box (or the active form) also receives the event. 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. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. The path and name of the Help file to display when the user clicks the Help button. The Help keyword to display when the user clicks the Help button. Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. When the user clicks the Help button, the Help file specified in the parameter is opened and the Help content identified by the parameter is displayed. The form that owns the message box (or the active form) also receives the event. Compiled Help files provide table of contents, index, search, and keyword links in pages. You can use the following values for : , , , or . The parameter can be of the form C:\path\sample.chm or /folder/file.htm. Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. The path and name of the Help file to display when the user clicks the Help button. One of the values. Method 2.0.0.0 System.Windows.Forms.DialogResult A message box is a modal dialog box, which means no input (keyboard or mouse click) can occur except to objects on the modal form. The program must hide or close a modal form (typically in response to some user action) before input to another form can occur. You can use the parameter to specify a particular object, which implements the interface, that will serve as the dialog box's top-level window and owner. When the user clicks the Help button, the Help file specified in the parameter is opened and the Help content identified by the parameter is displayed. The form that owns the message box (or the active form) also receives the event. Compiled help files provide table of contents, index, search, and keyword links in pages. You can use the following values for : , , , or . You can use to provide further refinement of the command. If the value specified in the parameter is , , or , this value should be null. If the parameter references , this value should reference an object that contains the numeric value of the topic to display. The parameter can be of the form C:\path\sample.chm or /folder/file.htm. 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. One of the values. An implementation of that will own the modal dialog box. The text to display in the message box. The text to display in the title bar of the message box. One of the values that specifies which buttons to display in the message box. One of the values that specifies which icon to display in the message box. One of the values that specifies the default button for the message box. One of the values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. The path and name of the Help file to display when the user clicks the Help button. One of the values. The numeric ID of the Help topic to display when the user clicks the Help button.