'Declaration
Public Overloads Shared Sub Show( _ ByVal message As String, _ ByVal caption As String, _ ByVal button As C1MessageBoxButton, _ ByVal callback As Action(Of MessageBoxResult) _ )
'Usage
Dim message As String Dim caption As String Dim button As C1MessageBoxButton Dim callback As Action(Of MessageBoxResult) C1MessageBox.Show(message, caption, button, callback)
public static void Show( string message, string caption, C1MessageBoxButton button, Action<MessageBoxResult> callback )
public: static void Show( String^ message, String^ caption, C1MessageBoxButton button, Action<MessageBoxResult>^ callback )
Parameters
- message
- The text to display as a message.
- caption
- The title bar caption.
- button
- A C1MessageBoxButton value that specifies which buttons to display.
- callback
- An Action which is called with the result of the message box.