Manager..::..DisplayMessage Method

Displays the message.

Namespace:  JiwaFinancials.Jiwa.JiwaApplication
Assembly:  JiwaApplication (in JiwaApplication.dll)

Syntax


public static DialogResult DisplayMessage(
	Form OwnerForm,
	string text,
	MessageBoxButtons buttons,
	MessageBoxIcon icon,
	MessageBoxDefaultButton defaultButton
)
Public Shared Function DisplayMessage ( _
	OwnerForm As Form, _
	text As String, _
	buttons As MessageBoxButtons, _
	icon As MessageBoxIcon, _
	defaultButton As MessageBoxDefaultButton _
) As DialogResult
public:
static DialogResult^ DisplayMessage(
	Form^ OwnerForm, 
	String^ text, 
	MessageBoxButtons^ buttons, 
	MessageBoxIcon^ icon, 
	MessageBoxDefaultButton^ defaultButton
)

Parameters

OwnerForm
Type: Form
text
Type: String
The text.
buttons
Type: MessageBoxButtons
The buttons.
icon
Type: MessageBoxIcon
The icon.
defaultButton
Type: MessageBoxDefaultButton
The default button.

Return Value

System.Windows.Forms.DialogResult.