DialogsConfirmMessage(Boolean, String) Method
Note: This API is now obsolete.
Namespace: KGySoft.WinForms.FormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
[ObsoleteAttribute("To show also a Cancel button, use the CancellableConfirmMessage methods instead.")]
public static DialogResult ConfirmMessage(
bool cancelButton,
string message
)
<ObsoleteAttribute("To show also a Cancel button, use the CancellableConfirmMessage methods instead.")>
Public Shared Function ConfirmMessage (
cancelButton As Boolean,
message As String
) As DialogResult
public:
[ObsoleteAttribute(L"To show also a Cancel button, use the CancellableConfirmMessage methods instead.")]
static DialogResult ConfirmMessage(
bool cancelButton,
String^ message
)
[<ObsoleteAttribute("To show also a Cancel button, use the CancellableConfirmMessage methods instead.")>]
static member ConfirmMessage :
cancelButton : bool *
message : string -> DialogResult
- cancelButton Boolean
- to show also a Cancel button; otherwise, .
- message String
- Message in invariant language
DialogResultA
DialogResult value indicating the user's choice.