See also:
NTier Windows Forms Framework Home
NTier Framework API reference

Show an informational, warning or error message to the user.

Namespace: NTier.Actions
Assembly: NTier.Actions (in NTier.Actions.dll) Version: 1.0.0.0

Syntax

C#
protected void ShowMessage(
	IUserQueryEvent queryUser,
	UserQueryIconType icon,
	string message
)
Visual Basic
Protected Sub ShowMessage ( 
	queryUser As IUserQueryEvent,
	icon As UserQueryIconType,
	message As String
)
Visual C++
protected:
void ShowMessage(
	IUserQueryEvent^ queryUser, 
	UserQueryIconType icon, 
	String^ message
)

Parameters

queryUser
Type: IUserQueryEvent
If specified, the IUserQueryEvent.UserQuery event is used to show the message.
icon
Type: UserQueryIconType
The icon to use in the message box.
message
Type: System..::..String
The message text.

See Also