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
)
Public Function ShowMessageBox (
Caption As String,
Message As String,
Optional Buttons As MessageBoxButton = MessageBoxButton.OK,
Optional Image As MessageBoxImage = MessageBoxImage.None,
Optional Details As String = Nothing
) As MessageBoxResult
public:
MessageBoxResult ShowMessageBox(
String^ Caption,
String^ Message,
MessageBoxButton Buttons = MessageBoxButton::OK,
MessageBoxImage Image = MessageBoxImage::None,
String^ Details = nullptr
)
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:
MessageBoxResultThe
MessageBoxResult value according to which button is clicked.
See Also