Table of Contents

Constructor MessageBoxEventArgs

Namespace
Alternet.Common
Assembly
Alternet.Common.Winforms.v10.dll

MessageBoxEventArgs(string, IWin32Window?, string?, MessageBoxButtons, MessageBoxIcon)

Initializes a new instance of the MessageBoxEventArgs class with specified parameters.

public MessageBoxEventArgs(string message, IWin32Window? owner, string? caption, MessageBoxButtons buttons, MessageBoxIcon icon)

Parameters

message string

The text to display in the message box.

owner IWin32Window

An implementation of IWin32Window that will own the message box dialog.

caption string

The text to display in the title bar of the message box.

buttons MessageBoxButtons

One of the MessageBoxButtons values that specifies which buttons to display in the message box.

icon MessageBoxIcon

One of the MessageBoxIcon values that specifies which icon to display in the message box.

MessageBoxEventArgs(string, Window?, string?, MessageBoxButtons, MessageBoxIcon)

public MessageBoxEventArgs(string message, Window? owner, string? caption, MessageBoxButtons buttons, MessageBoxIcon icon)

Parameters

message string
owner Window
caption string
buttons MessageBoxButtons
icon MessageBoxIcon