Browse Source

纯洁度中英文更新

cxs 10 months ago
parent
commit
db18db7592

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

@@ -1891,4 +1891,15 @@
 	  <Control name="str34" text="Types of foreign inclusions" />
     </Controls>
  </Form>
+ <Form>
+    <Name>Purity</Name>
+    <Controls>
+      <Control name="Purity" text="Purity" />
+	  <Control name="label1" text="RatingLevel:" />
+	  <Control name="btn_cal" text="Cal" />
+	  <Control name="label2" text="Results:" />
+	  <Control name="label4" text="Reference:" />
+	  <Control name="label3" text="Process:" />
+    </Controls>
+ </Form>
 </Resource>

+ 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>

+ 0 - 0
OTSIncAReportApp/1-UI/GBCalculate/Purity.Designer.cs → OTSIncAReportApp/1-UI/Purity.Designer.cs


+ 6 - 0
OTSIncAReportApp/1-UI/GBCalculate/Purity.cs → OTSIncAReportApp/1-UI/Purity.cs

@@ -1,6 +1,8 @@
 using OTSCLRINTERFACE;
+using OTSCommon;
 using OTSIncAReportApp.OTSDataMgrFunction;
 using System;
+using System.Collections;
 using System.Collections.Generic;
 using System.ComponentModel;
 using System.Data;
@@ -33,6 +35,8 @@ namespace OTSIncAReportApp._1_UI.GBCalculate
             {"4.5",20},
             {"5",50 }
         };
+        Language lan;
+        Hashtable table;
         #endregion
 
         public Purity(OTSIncAReportApp.frmReportApp a_ReportApp)
@@ -42,6 +46,8 @@ namespace OTSIncAReportApp._1_UI.GBCalculate
             cBox_gride.DataSource=new string[] { "0.5", "1", "1.5", "2", "2.5", "3", "3.5", "4", "4.5", "5" };
             cBox_gride.SelectedIndex=0;
             rBx_process.Font = new Font(rBx_process.Font.FontFamily, 15);
+            lan = new Language(this);
+            table = lan.GetNameTable(this.Name);
         }
 
         private void Purity_Load(object sender, EventArgs e)

+ 0 - 0
OTSIncAReportApp/1-UI/GBCalculate/Purity.resx → OTSIncAReportApp/1-UI/Purity.resx


+ 3 - 3
OTSIncAReportApp/OTSIncAReportApp.csproj

@@ -454,10 +454,10 @@
     <Compile Include="1-UI\frmReMeasure.Designer.cs">
       <DependentUpon>frmReMeasure.cs</DependentUpon>
     </Compile>
-    <Compile Include="1-UI\GBCalculate\Purity.cs">
+    <Compile Include="1-UI\Purity.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="1-UI\GBCalculate\Purity.Designer.cs">
+    <Compile Include="1-UI\Purity.Designer.cs">
       <DependentUpon>Purity.cs</DependentUpon>
     </Compile>
     <Compile Include="1-UI\OTSDisplaySourceGridData\frmReportConditionChoose.cs">
@@ -833,7 +833,7 @@
     <EmbeddedResource Include="1-UI\frmReMeasure.resx">
       <DependentUpon>frmReMeasure.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="1-UI\GBCalculate\Purity.resx">
+    <EmbeddedResource Include="1-UI\Purity.resx">
       <DependentUpon>Purity.cs</DependentUpon>
     </EmbeddedResource>
     <EmbeddedResource Include="1-UI\OTSDisplaySourceGridData\frmReportConditionChoose.resx">