Bläddra i källkod

多边形完成英文化修改

CXS 3 år sedan
förälder
incheckning
cf9cd6e51d

+ 2 - 0
Bin/x64/Debug/Resources/XMLData/AppResource_EN.xml

@@ -1125,6 +1125,8 @@
 	  <Control name="message7" text="Delete BSE Scanning Chart by Yes Confirmation" />
 	  <Control name="message8" text="Delete BSE Scanning Chart of Sample Hole by Yes Confirmation" />
 	  <Control name="message9" text="Delete BSE picture error message:" />
+	  <Control name="message10" text="Is the polygon area drawn?" />
+	  <Control name="message11" text="Tip" />
     </Controls>
  </Form>
   <Form>

+ 2 - 0
Bin/x64/Debug/Resources/XMLData/AppResource_ZH.xml

@@ -1125,6 +1125,8 @@
 	  <Control name="message7" text="按Yes确认删除BSE扫描图" />
 	  <Control name="message8" text="按Yes确认删除样品孔BSE扫描图" />
 	  <Control name="message9" text="删除BSE图片错误信息:" />
+	  <Control name="message10" text="多边形区域是否绘制完成?" />
+	  <Control name="message11" text="提示" />
     </Controls>
  </Form>
  <Form>

+ 1 - 1
OTSIncAMeasureApp/4-OTSSamplespaceGraphicsPanel/OTSSamplespaceWindow.cs

@@ -984,7 +984,7 @@ namespace OTSMeasureApp
                         Point startPoint = new Point((int)(m_PolygonPoint[0].X), (int)(m_PolygonPoint[0].Y));
                         if (m_IsDrawPolygonFinish)
                         {
-                            DialogResult dResult = MessageBox.Show("多边形区域是否绘制完成?", "提示", MessageBoxButtons.YesNo);
+                            DialogResult dResult = MessageBox.Show(table["message10"].ToString(), table["message11"].ToString(), MessageBoxButtons.YesNo);
                             if (dResult == DialogResult.Yes)
                             {
                                 m_PolygonPoint.Add(startPoint);