PagePorter Class Library

Global.MessageBox Method

Displays a Windows message box. Use this method instead of the System.Windows.Forms.MessageBox.Show method.

Overload List

Displays a Windows message box with default button and icon.

public static DialogResult MessageBox(string);

Displays a Windows message box with user-defined buttons and default icon.

public static DialogResult MessageBox(string,MessageBoxButtons);

Displays a Windows message box with user-defined buttons and icon.

public static DialogResult MessageBox(string,MessageBoxButtons,MessageBoxIcon);

Displays a Windows message box with user-defined buttons, icon, and default button.

public static DialogResult MessageBox(string,MessageBoxButtons,MessageBoxIcon,MessageBoxDefaultButton);

See Also

Global Class | Parastream.PagePorter Namespace