public static void ShowCalibration(Point point)
        {
            if (form == null)
            {
                form         = new CalibrationForm();
                form.TopMost = true;
            }

            form.ShowCalibration(point, CROSSHAIR_SIZE, p);
            form.Show();
        }
예제 #2
0
파일: Form1.cs 프로젝트: hungmol/c4fbook
        private void btnCalibrate_Click(object sender, EventArgs e)
        {
            if (cf == null || cf.IsDisposed)
            {
                cf = new CalibrationForm();
            }

            cf.Show();
            _cursorControl    = false;
            _calibrationState = 1;
            DoCalibration();
        }
예제 #3
0
 private void btnCalibrate_Click(object sender, EventArgs e)
 {
     if (cf == null)
     {
         cf = new CalibrationForm();
         cf.Show();
     }
     if (cf.IsDisposed)
     {
         cf = new CalibrationForm();
         cf.Show();
     }
     cursorControl = false;
     calibrationState = 1;
     doCalibration();
 }