Ejemplo n.º 1
0
 public void Dispose()
 {
     FilesSavingQueue.FlushSynchroniously();
     if (calibration_window != null)
     {
         calibration_window.Close();
         calibration_window = null;
     }
 }
Ejemplo n.º 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;
         }
     }));
 }