[]
Displays a message box that has a message, title bar caption, button and icon; and calls back with the result.
public static void Show(string message, string caption, C1MessageBoxButton button, C1MessageBoxIcon icon, Action<MessageBoxResult> callback)
Public Shared Sub Show(message As String, caption As String, button As C1MessageBoxButton, icon As C1MessageBoxIcon, callback As Action(Of MessageBoxResult))
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| string | caption | The title bar caption. |
| C1MessageBoxButton | button | A C1MessageBoxButton value that specifies which buttons to display. |
| C1MessageBoxIcon | icon | A C1MessageBoxIcon value that specifies the icon to display. |
| Action<MessageBoxResult> | callback | An Action<T> which is called with the result of the message box. |
Displays a message box that has a message and calls back with the result.
public static void Show(string message, Action<MessageBoxResult> callback)
Public Shared Sub Show(message As String, callback As Action(Of MessageBoxResult))
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| Action<MessageBoxResult> | callback | An Action<T> which is called with the result of the message box. |
Displays a message box that has a message and title bar caption; and calls back with the result.
public static void Show(string message, string caption, Action<MessageBoxResult> callback)
Public Shared Sub Show(message As String, caption As String, callback As Action(Of MessageBoxResult))
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| string | caption | The title bar caption. |
| Action<MessageBoxResult> | callback | An Action<T> which is called with the result of the message box. |
Displays a message box that has a message, title bar caption and button; and calls back with the result.
public static void Show(string message, string caption, C1MessageBoxButton button, Action<MessageBoxResult> callback)
Public Shared Sub Show(message As String, caption As String, button As C1MessageBoxButton, callback As Action(Of MessageBoxResult))
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| string | caption | The title bar caption. |
| C1MessageBoxButton | button | A C1MessageBoxButton value that specifies which buttons to display. |
| Action<MessageBoxResult> | callback | An Action<T> which is called with the result of the message box. |
Displays a message box that has a message, title bar caption and icon; and calls back with the result.
public static void Show(string message, string caption, C1MessageBoxIcon icon, Action<MessageBoxResult> callback)
Public Shared Sub Show(message As String, caption As String, icon As C1MessageBoxIcon, callback As Action(Of MessageBoxResult))
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| string | caption | The title bar caption. |
| C1MessageBoxIcon | icon | A C1MessageBoxIcon value that specifies the icon to display. |
| Action<MessageBoxResult> | callback | An Action<T> which is called with the result of the message box. |
Displays a message box that has a message.
public static void Show(string message)
Public Shared Sub Show(message As String)
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
Displays a message box that has a message and title bar caption.
public static void Show(string message, string caption)
Public Shared Sub Show(message As String, caption As String)
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| string | caption | The title bar caption. |
Displays a message box that has a message, title bar caption and button.
public static void Show(string message, string caption, C1MessageBoxButton button)
Public Shared Sub Show(message As String, caption As String, button As C1MessageBoxButton)
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| string | caption | The title bar caption. |
| C1MessageBoxButton | button | A C1MessageBoxButton value that specifies which buttons to display. |
Displays a message box that has a message, title bar caption and icon.
public static void Show(string message, string caption, C1MessageBoxIcon icon)
Public Shared Sub Show(message As String, caption As String, icon As C1MessageBoxIcon)
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| string | caption | The title bar caption. |
| C1MessageBoxIcon | icon | A C1MessageBoxIcon value that specifies the icon to display. |
Displays a message box that has a message, title bar caption and icon.
public static void Show(string message, string caption, C1MessageBoxButton button, C1MessageBoxIcon icon)
Public Shared Sub Show(message As String, caption As String, button As C1MessageBoxButton, icon As C1MessageBoxIcon)
| Type | Name | Description |
|---|---|---|
| string | message | The text to display as a message. |
| string | caption | The title bar caption. |
| C1MessageBoxButton | button | A C1MessageBoxButton value that specifies which buttons to display. |
| C1MessageBoxIcon | icon | A C1MessageBoxIcon value that specifies the icon to display. |