Browse Source

去除最小放大倍数>45的限制

cxs 3 năm trước cách đây
mục cha
commit
f51b48368f
1 tập tin đã thay đổi với 9 bổ sung9 xóa
  1. 9 9
      OTSIncAMeasureApp/7-OTSProgMgrInfo/ProgMgrInfoForm.cs

+ 9 - 9
OTSIncAMeasureApp/7-OTSProgMgrInfo/ProgMgrInfoForm.cs

@@ -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 起