AdvancedMessageDialogExecute(String, String, String, AdvancedDialogTypes, ButtonTypes, Boolean, Boolean, String) 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,
	bool saveLog,
	bool saveScreenshot,
	string? logNamePrefix
)

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.
saveLog  Boolean
to save the logs (see also ErrorLogDirectory)
saveScreenshot  Boolean
to save a screenshot (see also ErrorLogDirectory)
logNamePrefix  String
The prefix of the log file name to save.

Return Value

DialogResult
The DialogResult returned by the dialog.

See Also