Back to API Home

Shows a message box, with the first button as the default button.

Namespace: Dundas.Dashboard.Controls
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public static void ShowAsync(
	string title,
	string message,
	MessageBoxIcon icon,
	MessageBoxButtons buttons,
	MessageBoxResultCallback callback
)
Visual Basic
Public Shared Sub ShowAsync ( 
	title As String,
	message As String,
	icon As MessageBoxIcon,
	buttons As MessageBoxButtons,
	callback As MessageBoxResultCallback
)

Parameters

title
Type: System..::..String
Title that the MessageBox will display.
message
Type: System..::..String
Text that the MessageBox will display.
icon
Type: Dundas.Dashboard.Controls..::..MessageBoxIcon
type of icon to display.
buttons
Type: Dundas.Dashboard.Controls..::..MessageBoxButtons
buttons to display.
callback
Type: Dundas.Dashboard.Controls..::..MessageBoxResultCallback
Callback when the MessageBox is closed, or null if no callback is required.

See Also