-
Couldn't load subscription status.
- Fork 2
M_DataTools_MessageBoxEx_MessageBoxExButton__ctor_4
Nathan Moschkin edited this page Aug 22, 2020
·
1 revision
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)
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
)
- 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
MessageBoxExButton Class
MessageBoxExButton Overload
DataTools.MessageBoxEx Namespace