AdvancedMessageDialogExecute(String, String, String, AdvancedDialogTypes, ButtonTypes, Boolean, Boolean, String) Method
Shows a message dialog for any kind of message.
Namespace: KGySoft.WinForms.FormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public DialogResult Execute(
string? message,
string? details,
string? caption,
AdvancedDialogTypes dialogType,
ButtonTypes buttons,
bool saveLog,
bool saveScreenshot,
string? logNamePrefix
)
Public Function Execute (
message As String,
details As String,
caption As String,
dialogType As AdvancedDialogTypes,
buttons As ButtonTypes,
saveLog As Boolean,
saveScreenshot As Boolean,
logNamePrefix As String
) As DialogResult
public:
DialogResult Execute(
String^ message,
String^ details,
String^ caption,
AdvancedDialogTypes dialogType,
ButtonTypes buttons,
bool saveLog,
bool saveScreenshot,
String^ logNamePrefix
)
member Execute :
message : string *
details : string *
caption : string *
dialogType : AdvancedDialogTypes *
buttons : ButtonTypes *
saveLog : bool *
saveScreenshot : bool *
logNamePrefix : string -> DialogResult
- 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.
DialogResultThe
DialogResult returned by the dialog.