public static bool Confirm(string primaryText, string secondaryText, AlertButton button, bool confirmIsDefault) { return GenericAlert (questionIcon, primaryText, secondaryText, confirmIsDefault ? 0 : 1, AlertButton.Cancel, button) == button; }
public static bool Confirm(string primaryText, AlertButton button) { return Confirm (primaryText, null, button); }
public static bool Confirm(string primaryText, AlertButton button, bool confirmIsDefault) { return Confirm (primaryText, null, button, confirmIsDefault); }
public ConfirmationMessage(string primaryText, AlertButton button) : this(button) { Text = primaryText; }
public ConfirmationMessage(string primaryText, string secondaryText, AlertButton button) : this(primaryText, button) { SecondaryText = secondaryText; }
public ConfirmationMessage(AlertButton button) : this() { ConfirmButton = button; }
public static bool Confirm(string primaryText, string secondaryText, AlertButton button, bool confirmIsDefault) { return(GenericAlert(questionIcon, primaryText, secondaryText, confirmIsDefault ? 0 : 1, AlertButton.Cancel, button) == button); }
public static bool Confirm(string primaryText, AlertButton button, bool confirmIsDefault) { return(Confirm(primaryText, null, button, confirmIsDefault)); }
public static bool Confirm(string primaryText, AlertButton button) { return(Confirm(primaryText, null, button)); }