Browse Source

add some resource codes uesd to global

CXS 3 years ago
parent
commit
901d344b6f

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

@@ -929,6 +929,10 @@
 	  <Control name="m_NoWindowName" text="UnknownWorkingWindow" />
 	  <Control name="rbSTDEdit" text="Edit standard library" />
 	  <Control name="rbReClassify" text="Reclassification" />
+	  <Control name="rbConnectHardware" text="ConnectSem" />
+	  <Control name="rbDisconnectHardware" text="DisConnectSem" />
+	  <Control name="rbAutoBeamOff" text="AutoBeamOff" />
+	  <Control name="rbinterrupt" text="Interrupt" />
 	  <Control name="language" text="EN" />
 	  <Control name="message1" text="No OTSIncA valid pass!" />
 	  <Control name="message2" text="Is the current file modified or saved?" />

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

@@ -928,6 +928,10 @@
 	  <Control name="ribbonButton3" text="复位" />
 	  <Control name="ribbonButton1" text="打开" />
 	  <Control name="ribbonOrbRecentItem1" text="打开" />
+      <Control name="rbConnectHardware" text="连接电镜" />
+	  <Control name="rbDisconnectHardware" text="断开连接" />
+	  <Control name="rbAutoBeamOff" text="自动关枪" />
+	  <Control name="rbinterrupt" text="强制停止" />
 	
 	  <Control name="m_SamplespaceWindowName" text="样品台" />
 	  <Control name="m_MeasureStauWindowName" text="测量状态" />

+ 1 - 1
Bin/x64/Debug/Resources/XMLData/LanguageDefine.xml

@@ -1,4 +1,4 @@
 <?xml version="1.0" standalone="yes"?>
 <Language>
-  <DefaultLanguage>ZH</DefaultLanguage>
+  <DefaultLanguage>EN</DefaultLanguage>
 </Language>

+ 1 - 1
OTSIncAMeasureApp/OTSIncAMeasureAppForm.Designer.cs

@@ -639,7 +639,7 @@
             this.rbAutoBeamOff.SmallImage = global::OTSMeasureApp.Properties.Resources.AutoBeamOff_off;
             this.rbAutoBeamOff.Style = System.Windows.Forms.RibbonButtonStyle.Normal;
             this.rbAutoBeamOff.Tag = "rbAutoBeamStatus";
-            this.rbAutoBeamOff.Text = "autobeamoff";
+            this.rbAutoBeamOff.Text = "自动关枪";
             this.rbAutoBeamOff.ToolTip = null;
             this.rbAutoBeamOff.ToolTipImage = null;
             this.rbAutoBeamOff.ToolTipTitle = null;

+ 0 - 2
OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

@@ -1411,14 +1411,12 @@ namespace OTSMeasureApp
                 m_ProjData.GetGenParam().AutoBeamOff = false;
                 rbAutoBeamOff.Image = global::OTSMeasureApp.Properties.Resources.AutoBeamOff_off;
                 rbAutoBeamOff.SmallImage = global::OTSMeasureApp.Properties.Resources.AutoBeamOff_off;
-                rbAutoBeamOff.Checked = false;
             }
             else
             {
                 m_ProjData.GetGenParam().AutoBeamOff = true;
                 rbAutoBeamOff.Image = global::OTSMeasureApp.Properties.Resources.AutoBeamOff_on;
                 rbAutoBeamOff.SmallImage = global::OTSMeasureApp.Properties.Resources.AutoBeamOff_on;
-                rbAutoBeamOff.Checked = true;
             }
         }
     }