Skip to content

M_DataTools_MessageBoxEx_MessageBoxExButton__ctor_4

Nathan Moschkin edited this page Aug 22, 2020 · 1 revision

MessageBoxExButton Constructor (String, Object, Bitmap, Boolean)

Create a new custom button with an image.

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

Syntax

C#

public MessageBoxExButton(
	string caption,
	Object customResult,
	Bitmap image,
	bool isDefault = false
)

VB

Public Sub New ( 
	caption As String,
	customResult As Object,
	image As Bitmap,
	Optional isDefault As Boolean = false
)

Parameters

 

caption
Type: System.String
The button text
customResult
Type: System.Object
The custom result this button will return
image
Type: System.Drawing.Bitmap
The button image
isDefault (Optional)
Type: System.Boolean
Is the default button

See Also

Reference

MessageBoxExButton Class
MessageBoxExButton Overload
DataTools.MessageBoxEx Namespace

Clone this wiki locally