예제 #1
0
 private void btnCalibrate_Click(object sender, EventArgs e)
 {
     m_BWM.GetScreenshot();
     if (m_BWM.Calibrate())
     {
         screenGrabTimer.Start();
     }
     else
     {
         MessageBox.Show("Couldn't calibrate");
     }
 }
예제 #2
0
 private void btnCalibrate_Click(object sender, EventArgs e)
 {
     m_BWM.GetScreenshot();
     if (m_BWM.Calibrate())
     {
         pictureBox1.Image = m_BWM.ScreenShot;
         //MessageBox.Show("Calibrated");
     }
     else
     {
         MessageBox.Show("Couldn't calibrate");
     }
 }