Skip to content

M_DataTools_MessageBoxEx_MessageBoxEx_Show_5

Nathan Moschkin edited this page Aug 22, 2020 · 3 revisions

MessageBoxEx.Show Method (String, String, String, MessageBoxExType, MessageBoxExIcons, Boolean)

Shows a message box with a message, title, standard buttons, a standard icon, and an option toggle.

Namespace: DataTools.MessageBoxEx
Assembly: MessageBoxEx (in MessageBoxEx.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static MessageBoxExResult Show(
	string message,
	string title,
	string optionText,
	MessageBoxExType type,
	MessageBoxExIcons icon,
	out bool optionResult
)

VB

Public Shared Function Show ( 
	message As String,
	title As String,
	optionText As String,
	type As MessageBoxExType,
	icon As MessageBoxExIcons,
	<OutAttribute> ByRef optionResult As Boolean
) As MessageBoxExResult

Parameters

 

message
Type: System.String
Text to display in the dialog box
title
Type: System.String
Title of the dialog box
optionText
Type: System.String
Option toggle button message
type
Type: DataTools.MessageBoxEx.MessageBoxExType
A standard MessageBoxExType value
icon
Type: DataTools.MessageBoxEx.MessageBoxExIcons
A standard MessageBoxExIcons value
optionResult
Type: System.Boolean
The result of the option toggle button

Return Value

Type: MessageBoxExResult
A MessageBoxExResult value

See Also

Reference

MessageBoxEx Class
Show Overload
DataTools.MessageBoxEx Namespace

Clone this wiki locally