Пример #1
0
        public static void showForm(HNStruct.RECT screenRect)
        {
            FormCalibrate formCalibrate = new FormCalibrate(screenRect);

            formCalibrate.Focus();
            int num = (int)formCalibrate.ShowDialog();
        }
Пример #2
0
 private void ButtonCalibration_Click(object sender, EventArgs e)
 {
     if (TabletConfigUtils.config.curScreenIndex < 0U ||
         (long)TabletConfigUtils.config.curScreenIndex >= (long)this.displayNum)
     {
         return;
     }
     FormCalibrate.showForm(this.monitorInfos[(int)TabletConfigUtils.config.curScreenIndex].Monitor);
 }