Parameters
- owner
- Any object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal dialog box.
- text
- The text to display in the message box.
- caption
- The text to display in the title bar of the message box.
- buttons
- One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box.
- icon
- One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box.
Return Value
One of the System.Windows.Forms.DialogResult values.