Beispiel #1
0
        public static bool Confirm(string message, bool?defaultValue = null)
        {
            using var form = new Confirm(message, defaultValue);

            return(form.Start());
        }
Beispiel #2
0
        public static bool Confirm(ConfirmOptions options)
        {
            using var form = new Confirm(options);

            return(form.Start());
        }