Example #1
0
        void ExecuteOKCommand()
        {
            Properties.Settings.Default.FontFamily = FontFamily.Source;
            Properties.Settings.Default.FontSize   = FontSize;
            Properties.Settings.Default.Save();

            IsOK = true;
            CloseIF.Close();
        }
        void ExecuteOKCommand()
        {
            string resultMessage;

            if (CheckFunc(FileName, StartNo, out resultMessage))
            {
                Result = true;
                CloseIF?.Close();
            }
            else
            {
                System.Windows.MessageBox.Show(resultMessage);
            }
        }
 void ExecuteCancelCommand()
 {
     Result = false;
     CloseIF?.Close();
 }
Example #4
0
 void ExecuteCancelCommand()
 {
     IsOK = false;
     CloseIF.Close();
 }