Example #1
0
 private void DestroyCalibrationForm()
 {
     if (null != _calibrationForm)
     {
         _calibrationForm.FormClosed -= calibrationForm_FormClosed;
         _calibrationForm.Close();
         _calibrationForm = null;
     }
 }
Example #2
0
 void calibrationForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     _calibrationForm = null;
 }
Example #3
0
 private CalibrationForm CreateCalibrationForm()
 {
     Assume.IsNull(_calibrationForm);
     _calibrationForm = new CalibrationForm(this);
     _calibrationForm.FormClosed += calibrationForm_FormClosed;
     return _calibrationForm;
 }
Example #4
0
 private string GetGraphTitle(CalibrationForm calibrationForm)
 {
     return calibrationForm.ZedGraphControl.GraphPane.Title.Text;
 }