public static bool Confirm(string message, bool?defaultValue = null) { using var form = new Confirm(message, defaultValue); return(form.Start()); }
public static bool Confirm(ConfirmOptions options) { using var form = new Confirm(options); return(form.Start()); }