DialogsConfirmMessage(String, Boolean) Method
Shows a confirmation message dialog with Yes and No buttons.
See the
Remarks section of the
ConfirmMessage(String) overload for more details.
Namespace: KGySoft.WinForms.FormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static bool ConfirmMessage(
string message,
bool isYesDefault
)
Public Shared Function ConfirmMessage (
message As String,
isYesDefault As Boolean
) As Boolean
public:
static bool ConfirmMessage(
String^ message,
bool isYesDefault
)
static member ConfirmMessage :
message : string *
isYesDefault : bool -> bool
- message String
- The message to display in the confirmation dialog.
- isYesDefault Boolean
- if the Yes button should be the default button, if No should be the default.
Boolean if the user clicked Yes,
if No was clicked or the dialog was closed.