AdvancedMessageDialogExecute(String, String, AdvancedDialogTypes) 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 caption,
	AdvancedDialogTypes dialogType
)

Parameters

message  String
The message to show.
caption  String
The caption text of the dialog.
dialogType  AdvancedDialogTypes
Affects the dialog icon and the buttons of the dialog.

Return Value

DialogResult
The DialogResult returned by the dialog.

Remarks

Details will be shown if dialogType is Exception.

Log and screenshot will be saved if dialogType is Exception and ReportSender is assigned.

Buttons are controlled by the dialogType parameter.

See Also