Esempio n. 1
0
 private void calibrateButton_Click(object sender, EventArgs e)
 {
     richTextBox.Text = "Calibrating...";
     calibration = new Calibration();
     taskbar.StartCalibration();
     Go();
 }
Esempio n. 2
0
 private void MainForm_SizeChanged(object sender, EventArgs e)
 {
     if (timer.Enabled)
     {
         timer.Enabled = false;
         if (calibration != null)
         {
             richTextBox.Text = calibration.Status;
             calibration = null;
             taskbar.EndCalibration();
         }
         else
         {
             taskbar.EndGrabbing();
         }
     }
 }