|
@@ -1512,15 +1512,15 @@ namespace OTSMeasureApp
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- //最小放大倍数不得小于45倍
|
|
|
- if (Convert.ToInt32(IDC_EDIT_MINMAG.Text.Trim()) < 45)
|
|
|
- {
|
|
|
- IDC_EDIT_MINMAG.Focus();
|
|
|
- IDC_EDIT_MINMAG.SelectAll();
|
|
|
- string message = "The minimum magnification cannot be less than 45 times";
|
|
|
- MessageBox.Show(message, "Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
- return false;
|
|
|
- }
|
|
|
+ ////最小放大倍数不得小于45倍
|
|
|
+ //if (Convert.ToInt32(IDC_EDIT_MINMAG.Text.Trim()) < 45)
|
|
|
+ //{
|
|
|
+ // IDC_EDIT_MINMAG.Focus();
|
|
|
+ // IDC_EDIT_MINMAG.SelectAll();
|
|
|
+ // string message = "The minimum magnification cannot be less than 45 times";
|
|
|
+ // MessageBox.Show(message, "Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ // return false;
|
|
|
+ //}
|
|
|
|
|
|
//再限制,x轴,y轴,的起止的,输入长度,因为现在已经有在mm和um之间的转换,所以这里要限制一下
|
|
|
//x轴行程/mm 起
|