예제 #1
0
        public static bool ConfirmResult(string customMsg)
        {
            ResultWindow cw = new ResultWindow();
            cw.txtMesage.Text = customMsg;
            bool? res = cw.ShowDialog();

            if (res == true)
                return cw.checkBox1.IsChecked == true ? false : true;
            else
                return true;
        }
예제 #2
0
        public static bool ConfirmResult(string customMsg)
        {
            ResultWindow cw = new ResultWindow();

            cw.txtMesage.Text = customMsg;
            bool?res = cw.ShowDialog();

            if (res == true)
            {
                return(cw.checkBox1.IsChecked == true ? false : true);
            }
            else
            {
                return(true);
            }
        }