[]
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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. |