In The Hand
Show Method (text, caption, buttons, icon, defaultButton)
NamespacesInTheHand.WindowsMobile.FormsMessageBoxShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton)
.NET Components for Mobility
Displays a message box with the specified text, caption, buttons, icon, and default button.
Declaration Syntax
C#Visual Basic
public static DialogResult Show(
	string text,
	string caption,
	MessageBoxButtons buttons,
	MessageBoxIcon icon,
	MessageBoxDefaultButton defaultButton
)
Public Shared Function Show ( _
	text As String, _
	caption As String, _
	buttons As MessageBoxButtons, _
	icon As MessageBoxIcon, _
	defaultButton As MessageBoxDefaultButton _
) As DialogResult
Parameters
text (String)
The text to display in the message box.
caption (String)
The text to display in the title bar of the message box.
buttons (MessageBoxButtons)
One of the MessageBoxButtons values that specifies which buttons to display in the message box.
icon (MessageBoxIcon)
One of the MessageBoxIcon values that specifies which icon to display in the message box.
defaultButton (MessageBoxDefaultButton)
One of the MessageBoxDefaultButton values that specifies the default button for the message box.
Return Value
One of the DialogResult values.
See Also

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 4.2.0.0