示例#1
0
 public void Dispose()
 {
     FilesSavingQueue.FlushSynchroniously();
     if (calibration_window != null)
     {
         calibration_window.Close();
         calibration_window = null;
     }
 }
示例#2
0
 public static void ToggleCalibrationWindow()
 {
     application.Dispatcher.BeginInvoke(new Action(() =>
     {
         if (calibration_window == null)
         {
             calibration_window = new CalibrationWindow();
             calibration_window.Show();
         }
         else
         {
             calibration_window.Close();
             calibration_window = null;
         }
     }));
 }