DialogsConfirmMessage(Boolean, String) Method

Note: This API is now obsolete.
Shows a confirmation message dialog with Yes, No, and an optional Cancel button.
This method is obsolete. To show a confirmation dialog with Yes, No and Cancel buttons, use the CancellableConfirmMessage(String, MessageBoxDefaultButton) method instead.

Definition

Namespace: KGySoft.WinForms.Forms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
[ObsoleteAttribute("To show also a Cancel button, use the CancellableConfirmMessage methods instead.")]
public static DialogResult ConfirmMessage(
	bool cancelButton,
	string message
)

Parameters

cancelButton  Boolean
to show also a Cancel button; otherwise, .
message  String
Message in invariant language

Return Value

DialogResult
A DialogResult value indicating the user's choice.

See Also