-
Couldn't load subscription status.
- Fork 2
M_DataTools_MessageBoxEx_MessageBoxEx_Show_4
Nathan Moschkin edited this page Aug 22, 2020
·
3 revisions
MessageBoxEx.Show Method (String, String, IEnumerable(MessageBoxExButton), MessageBoxExIcons, Object)
Shows a message box with a message, title, custom buttons, and a standard icon.
Namespace: DataTools.MessageBoxEx
Assembly: MessageBoxEx (in MessageBoxEx.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static MessageBoxExResult Show(
string message,
string title,
IEnumerable<MessageBoxExButton> buttons,
MessageBoxExIcons icon,
out Object customResult
)VB
Public Shared Function Show (
message As String,
title As String,
buttons As IEnumerable(Of MessageBoxExButton),
icon As MessageBoxExIcons,
<OutAttribute> ByRef customResult As Object
) As MessageBoxExResult
- message
- Type: System.String
Text to display in the dialog box - title
- Type: System.String
Title of the dialog box - buttons
- Type: System.Collections.Generic.IEnumerable(MessageBoxExButton)
An IEnumerable(T) of MessageBoxExButton objects - icon
- Type: DataTools.MessageBoxEx.MessageBoxExIcons
A standard MessageBoxExIcons value - customResult
- Type: System.Object
The result of the button that was pressed
Type: MessageBoxExResult
A MessageBoxExResult value
MessageBoxEx Class
Show Overload
DataTools.MessageBoxEx Namespace