public static void showForm(HNStruct.RECT screenRect) { FormCalibrate formCalibrate = new FormCalibrate(screenRect); formCalibrate.Focus(); int num = (int)formCalibrate.ShowDialog(); }
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); }