AdvancedMessageDialogExecute(String, String, String, AdvancedDialogTypes, ButtonTypes) Method

Shows a message dialog for any kind of message.

Definition

Namespace: KGySoft.WinForms.Forms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public DialogResult Execute(
	string message,
	string? details,
	string? caption,
	AdvancedDialogTypes dialogType,
	ButtonTypes buttons
)

Parameters

message  String
The message to show.
details  String
The details text (if or empty, the Details button will be hidden)
caption  String
The caption text of the dialog.
dialogType  AdvancedDialogTypes
Specifies the dialog icon
buttons  ButtonTypes
Specifies the buttons to show.

Return Value

DialogResult
The DialogResult returned by the dialog.

See Also