Displays a message box that has a message and calls back with the result.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
Syntax
C# |
---|
public static void Show( string message, Action<MessageBoxResult> callback ) |
Visual Basic |
---|
Public Shared Sub Show ( _ message As String, _ callback As Action(Of MessageBoxResult) _ ) |
Parameters
- message
- Type: System..::..String
The text to display as a message.
- callback
- Type: System..::..Action<(Of <(<'MessageBoxResult>)>)>
An Action<(Of <(<'T>)>)> which is called with the result of the message box.