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

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

            return(form.Start());
        }