Click or drag to resize

BasicWindowShowMessageBox Method

Show a MessageBox

Namespace:  Hummingbird.UI
Assembly:  Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax
public MessageBoxResult ShowMessageBox(
	string Caption,
	string Message,
	MessageBoxButton Buttons = MessageBoxButton.OK,
	MessageBoxImage Image = MessageBoxImage.None,
	string Details = null
)

Parameters

Caption
Type: SystemString
Title of the MessageBox
Message
Type: SystemString
Message
Buttons (Optional)
Type: System.WindowsMessageBoxButton
Buttons to show in the MessageBox
Image (Optional)
Type: System.WindowsMessageBoxImage
MessageBox Image (not used)
Details (Optional)
Type: SystemString
Detailed error message, can include stack traces and large text to give more detailed information to users.

Return Value

Type: MessageBoxResult
The MessageBoxResult value according to which button is clicked.
See Also