Browse Source

颗粒列表多语言

cxs 2 years ago
parent
commit
6eca94cf73

+ 5 - 63
Bin/x64/Debug/Resources/XMLData/AppResource_EN.xml

@@ -1402,15 +1402,15 @@
 	  <Control name="ToolStripMenuItem_selectparticle" text="Selected granules" />
 	  <Control name="ToolStripMenuItem_exportimagefile" text="Export image file" />
 	  <Control name="ToolStripMenuItem_exportzoomimagefile" text="Export enlarged image file" />
-	  <Control name="label_Condition" text="Condition query:" />
+	  <Control name="label_Condition" text="SearchConditions:" />
 	  <Control name="label_Area" text="Area(μm²)" />
 	  <Control name="label_Dmax" text="Dmax(μm)" />
 	  <Control name="label_ParticleName" text="ParticleName" />
-	  <Control name="btn_Sel" text="Sel" />
+	  <Control name="btn_Sel" text="Search" />
 	  <Control name="label_order" text="Sort by:" />
-	  <Control name="label1" text="common" />
-	  <Control name="label4" text="Records per page" />
-	  <Control name="label2" text="Article of" />
+	  <Control name="label1" text="Total" />
+	  <Control name="label4" text="Records, Per page" />
+	  <Control name="label2" text="Records,Total" />
 	  <Control name="label6" text="page" />
 	  <Control name="str1" text="Selected particles" />
 	  <Control name="str2" text="Selected" />
@@ -1638,62 +1638,4 @@
 	  <Control name="button1" text="determine" />
     </Controls>
  </Form>
- <Form>
-    <Name>ParticlesGridDevidePage</Name>
-    <Controls>
-      <Control name="ToolStripMenuItem1" text="Copy the entire table" />
-	  <Control name="ToolStripMenuItem2" text="Replication Selection Area" />
-	  <Control name="toolStripMenuItem4" text="Copy the entire list image that is currently displayed" />
-	  <Control name="ToolStripMenuItem3" text="Restore to the initial state" />
-	  <Control name="ToolStripMenuItem5" text="Move SEM to the Particle Horizon Position" />
-	  <Control name="ToolStripMenuItem_selectparticle" text="Selected granules" />
-	  <Control name="ToolStripMenuItem_exportimagefile" text="Export image file" />
-	  <Control name="ToolStripMenuItem_exportzoomimagefile" text="Export enlarged image file" />
-	  <Control name="label_Condition" text="Condition query:" />
-	  <Control name="label_Area" text="Area(μm²)" />
-	  <Control name="label_Dmax" text="Dmax(μm)" />
-	  <Control name="label_ParticleName" text="ParticleName" />
-	  <Control name="btn_Sel" text="Sel" />
-	  <Control name="label_order" text="Sort by:" />
-	  <Control name="label1" text="common" />
-	  <Control name="label4" text="Records per page" />
-	  <Control name="label2" text="Article of" />
-	  <Control name="label6" text="page" />
-	  <Control name="str1" text="Selected particles" />
-	  <Control name="str2" text="Selected" />
-	  <Control name="str3" text="Please switch to the analysis chart!" />
-	  <Control name="str4" text="No" />
-	  <Control name="str5" text="Image" />
-	  <Control name="str6" text="Name" />
-	  <Control name="str7" text="Start loading granular list information" />
-	  <Control name="str8" text="Particle list, loaded" />
-	  <Control name="str9" text="Export completed, image total" />
-	  <Control name="str10" text="The type of input is error!" />
-	  <Control name="str11" text="Please pay attention to the corresponding size relationship of the input value! "/>
-	  <Control name="str12" text="Load the granular list and start creating table structured Columns" />
-	  <Control name="str15" text="Loading particle list, getting" />
-	  <Control name="str18" text="Value" />
-	  <Control name="partcletype0" text="SMALL" />
-	  <Control name="partcletype1" text="OVERSIZE" />
-	  <Control name="partcletype2" text="AVE_GRAY_NOT_INRANRE" />
-	  <Control name="partcletype4" text="LOW_COUNT" />
-	  <Control name="partcletype6" text="NO_ANALYSIS_X_RAY" />
-      <Control name="partcletype7" text="NOT_IDENTIFIED_SIC" />
-	  <Control name="partcletype8" text="NOT_IDENTIFIED_FEO" />
-	  <Control name="partcletype9" text="NOT_IDENTIFIED" />
-	  <Control name="str21" text="Areaμm²" />
-	  <Control name="str22" text="Equivalent circle diameterμm" />
-	  <Control name="str23" text="Longest diameterμm" />
-	  <Control name="str24" text="Minimum diameterμm" />
-      <Control name="str25" text="Long short diameter ratio" />
-	  <Control name="str26" text="Ferret diameterμm" />
-	  <Control name="str27" text="Orthogonal diameterμm" />
-	  <Control name="str28" text="Perimeterμm" />
-	  <Control name="str29" text="Inscribed circle diameterμm" />
-	  <Control name="str30" text="Average diameter of inscribed circleμm!" />
-	  <Control name="str31" text="Expansion lengthμm" />
-	  <Control name="str32" text="Expanded aspect ratio" />
-	  <Control name="str33" text="Orientation angle °" />
-	</Controls>
- </Form>
 </Resource>

+ 62 - 62
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage.Designer.cs

@@ -30,6 +30,10 @@
         {
             this.components = new System.ComponentModel.Container();
             this.panel2 = new System.Windows.Forms.Panel();
+            this.tB_FieldId = new System.Windows.Forms.TextBox();
+            this.label7 = new System.Windows.Forms.Label();
+            this.tB_ParticleId = new System.Windows.Forms.TextBox();
+            this.label3 = new System.Windows.Forms.Label();
             this.label_Condition = new System.Windows.Forms.Label();
             this.tbx_Type = new System.Windows.Forms.TextBox();
             this.btn_ReMeasure = new System.Windows.Forms.Button();
@@ -73,10 +77,6 @@
             this.ImportSTDDb = new System.Windows.Forms.ToolStripMenuItem();
             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
             this.dgV_ParticlesDevidePage = new System.Windows.Forms.DataGridView();
-            this.label3 = new System.Windows.Forms.Label();
-            this.tB_ParticleId = new System.Windows.Forms.TextBox();
-            this.label7 = new System.Windows.Forms.Label();
-            this.tB_FieldId = new System.Windows.Forms.TextBox();
             this.panel2.SuspendLayout();
             this.panel1.SuspendLayout();
             this.contextMenuStrip1.SuspendLayout();
@@ -111,6 +111,40 @@
             this.panel2.Size = new System.Drawing.Size(1502, 37);
             this.panel2.TabIndex = 6;
             // 
+            // tB_FieldId
+            // 
+            this.tB_FieldId.Location = new System.Drawing.Point(549, 10);
+            this.tB_FieldId.Name = "tB_FieldId";
+            this.tB_FieldId.Size = new System.Drawing.Size(68, 21);
+            this.tB_FieldId.TabIndex = 39;
+            // 
+            // label7
+            // 
+            this.label7.AutoSize = true;
+            this.label7.Location = new System.Drawing.Point(484, 14);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(47, 12);
+            this.label7.TabIndex = 38;
+            this.label7.Text = "FieldId";
+            // 
+            // tB_ParticleId
+            // 
+            this.tB_ParticleId.Location = new System.Drawing.Point(1244, 11);
+            this.tB_ParticleId.Name = "tB_ParticleId";
+            this.tB_ParticleId.Size = new System.Drawing.Size(76, 21);
+            this.tB_ParticleId.TabIndex = 37;
+            this.tB_ParticleId.Visible = false;
+            // 
+            // label3
+            // 
+            this.label3.AutoSize = true;
+            this.label3.Location = new System.Drawing.Point(1164, 15);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(65, 12);
+            this.label3.TabIndex = 36;
+            this.label3.Text = "ParticleId";
+            this.label3.Visible = false;
+            // 
             // label_Condition
             // 
             this.label_Condition.AutoSize = true;
@@ -122,7 +156,7 @@
             // 
             // tbx_Type
             // 
-            this.tbx_Type.Location = new System.Drawing.Point(462, 10);
+            this.tbx_Type.Location = new System.Drawing.Point(723, 10);
             this.tbx_Type.Name = "tbx_Type";
             this.tbx_Type.Size = new System.Drawing.Size(69, 21);
             this.tbx_Type.TabIndex = 34;
@@ -130,7 +164,7 @@
             // 
             // btn_ReMeasure
             // 
-            this.btn_ReMeasure.Location = new System.Drawing.Point(900, 10);
+            this.btn_ReMeasure.Location = new System.Drawing.Point(1078, 10);
             this.btn_ReMeasure.Name = "btn_ReMeasure";
             this.btn_ReMeasure.Size = new System.Drawing.Size(80, 23);
             this.btn_ReMeasure.TabIndex = 33;
@@ -141,7 +175,7 @@
             // 
             // btn_Sel
             // 
-            this.btn_Sel.Location = new System.Drawing.Point(840, 10);
+            this.btn_Sel.Location = new System.Drawing.Point(809, 8);
             this.btn_Sel.Name = "btn_Sel";
             this.btn_Sel.Size = new System.Drawing.Size(54, 23);
             this.btn_Sel.TabIndex = 33;
@@ -152,7 +186,7 @@
             // label_ParticleName
             // 
             this.label_ParticleName.AutoSize = true;
-            this.label_ParticleName.Location = new System.Drawing.Point(409, 13);
+            this.label_ParticleName.Location = new System.Drawing.Point(635, 13);
             this.label_ParticleName.Name = "label_ParticleName";
             this.label_ParticleName.Size = new System.Drawing.Size(53, 12);
             this.label_ParticleName.TabIndex = 32;
@@ -161,7 +195,7 @@
             // label_Dmax
             // 
             this.label_Dmax.AutoSize = true;
-            this.label_Dmax.Location = new System.Drawing.Point(245, 15);
+            this.label_Dmax.Location = new System.Drawing.Point(309, 14);
             this.label_Dmax.Name = "label_Dmax";
             this.label_Dmax.Size = new System.Drawing.Size(59, 12);
             this.label_Dmax.TabIndex = 27;
@@ -169,7 +203,7 @@
             // 
             // tbx_DmaxMax
             // 
-            this.tbx_DmaxMax.Location = new System.Drawing.Point(365, 11);
+            this.tbx_DmaxMax.Location = new System.Drawing.Point(429, 10);
             this.tbx_DmaxMax.Name = "tbx_DmaxMax";
             this.tbx_DmaxMax.Size = new System.Drawing.Size(40, 21);
             this.tbx_DmaxMax.TabIndex = 25;
@@ -178,7 +212,7 @@
             // label9
             // 
             this.label9.AutoSize = true;
-            this.label9.Location = new System.Drawing.Point(351, 15);
+            this.label9.Location = new System.Drawing.Point(415, 14);
             this.label9.Name = "label9";
             this.label9.Size = new System.Drawing.Size(11, 12);
             this.label9.TabIndex = 24;
@@ -186,7 +220,7 @@
             // 
             // tbx_DmaxMin
             // 
-            this.tbx_DmaxMin.Location = new System.Drawing.Point(309, 11);
+            this.tbx_DmaxMin.Location = new System.Drawing.Point(373, 10);
             this.tbx_DmaxMin.Name = "tbx_DmaxMin";
             this.tbx_DmaxMin.Size = new System.Drawing.Size(40, 21);
             this.tbx_DmaxMin.TabIndex = 23;
@@ -195,7 +229,7 @@
             // label_Area
             // 
             this.label_Area.AutoSize = true;
-            this.label_Area.Location = new System.Drawing.Point(75, 13);
+            this.label_Area.Location = new System.Drawing.Point(127, 13);
             this.label_Area.Name = "label_Area";
             this.label_Area.Size = new System.Drawing.Size(65, 12);
             this.label_Area.TabIndex = 22;
@@ -203,7 +237,7 @@
             // 
             // Tbx_AreaMax
             // 
-            this.Tbx_AreaMax.Location = new System.Drawing.Point(199, 10);
+            this.Tbx_AreaMax.Location = new System.Drawing.Point(251, 10);
             this.Tbx_AreaMax.Name = "Tbx_AreaMax";
             this.Tbx_AreaMax.Size = new System.Drawing.Size(40, 21);
             this.Tbx_AreaMax.TabIndex = 4;
@@ -212,7 +246,7 @@
             // label5
             // 
             this.label5.AutoSize = true;
-            this.label5.Location = new System.Drawing.Point(185, 13);
+            this.label5.Location = new System.Drawing.Point(237, 13);
             this.label5.Name = "label5";
             this.label5.Size = new System.Drawing.Size(11, 12);
             this.label5.TabIndex = 3;
@@ -220,7 +254,7 @@
             // 
             // tBx_AreaMin
             // 
-            this.tBx_AreaMin.Location = new System.Drawing.Point(142, 10);
+            this.tBx_AreaMin.Location = new System.Drawing.Point(194, 10);
             this.tBx_AreaMin.Name = "tBx_AreaMin";
             this.tBx_AreaMin.Size = new System.Drawing.Size(40, 21);
             this.tBx_AreaMin.TabIndex = 2;
@@ -272,7 +306,7 @@
             // 
             this.cbB_PageSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
             this.cbB_PageSize.FormattingEnabled = true;
-            this.cbB_PageSize.Location = new System.Drawing.Point(136, 10);
+            this.cbB_PageSize.Location = new System.Drawing.Point(168, 10);
             this.cbB_PageSize.Name = "cbB_PageSize";
             this.cbB_PageSize.Size = new System.Drawing.Size(59, 20);
             this.cbB_PageSize.TabIndex = 38;
@@ -281,7 +315,7 @@
             // label6
             // 
             this.label6.AutoSize = true;
-            this.label6.Location = new System.Drawing.Point(262, 13);
+            this.label6.Location = new System.Drawing.Point(355, 13);
             this.label6.Name = "label6";
             this.label6.Size = new System.Drawing.Size(17, 12);
             this.label6.TabIndex = 37;
@@ -290,7 +324,7 @@
             // lblPageCount
             // 
             this.lblPageCount.AutoSize = true;
-            this.lblPageCount.Location = new System.Drawing.Point(240, 13);
+            this.lblPageCount.Location = new System.Drawing.Point(326, 13);
             this.lblPageCount.Name = "lblPageCount";
             this.lblPageCount.Size = new System.Drawing.Size(23, 12);
             this.lblPageCount.TabIndex = 36;
@@ -300,7 +334,7 @@
             // label4
             // 
             this.label4.AutoSize = true;
-            this.label4.Location = new System.Drawing.Point(55, 13);
+            this.label4.Location = new System.Drawing.Point(59, 13);
             this.label4.Name = "label4";
             this.label4.Size = new System.Drawing.Size(77, 12);
             this.label4.TabIndex = 35;
@@ -309,7 +343,7 @@
             // lblTotalCount
             // 
             this.lblTotalCount.AutoSize = true;
-            this.lblTotalCount.Location = new System.Drawing.Point(22, 13);
+            this.lblTotalCount.Location = new System.Drawing.Point(36, 13);
             this.lblTotalCount.Name = "lblTotalCount";
             this.lblTotalCount.Size = new System.Drawing.Size(17, 12);
             this.lblTotalCount.TabIndex = 34;
@@ -318,7 +352,7 @@
             // 
             // btnGo
             // 
-            this.btnGo.Location = new System.Drawing.Point(507, 7);
+            this.btnGo.Location = new System.Drawing.Point(604, 8);
             this.btnGo.Name = "btnGo";
             this.btnGo.Size = new System.Drawing.Size(37, 23);
             this.btnGo.TabIndex = 33;
@@ -328,7 +362,7 @@
             // 
             // lnkLast
             // 
-            this.lnkLast.Location = new System.Drawing.Point(464, 7);
+            this.lnkLast.Location = new System.Drawing.Point(561, 8);
             this.lnkLast.Name = "lnkLast";
             this.lnkLast.Size = new System.Drawing.Size(37, 23);
             this.lnkLast.TabIndex = 32;
@@ -338,7 +372,7 @@
             // 
             // lnkNext
             // 
-            this.lnkNext.Location = new System.Drawing.Point(421, 7);
+            this.lnkNext.Location = new System.Drawing.Point(518, 8);
             this.lnkNext.Name = "lnkNext";
             this.lnkNext.Size = new System.Drawing.Size(37, 23);
             this.lnkNext.TabIndex = 31;
@@ -348,7 +382,7 @@
             // 
             // txtPageNum
             // 
-            this.txtPageNum.Location = new System.Drawing.Point(378, 9);
+            this.txtPageNum.Location = new System.Drawing.Point(475, 10);
             this.txtPageNum.Name = "txtPageNum";
             this.txtPageNum.Size = new System.Drawing.Size(37, 21);
             this.txtPageNum.TabIndex = 30;
@@ -357,7 +391,7 @@
             // 
             // lnkPrev
             // 
-            this.lnkPrev.Location = new System.Drawing.Point(335, 7);
+            this.lnkPrev.Location = new System.Drawing.Point(432, 8);
             this.lnkPrev.Name = "lnkPrev";
             this.lnkPrev.Size = new System.Drawing.Size(37, 23);
             this.lnkPrev.TabIndex = 29;
@@ -367,7 +401,7 @@
             // 
             // lnkFirst
             // 
-            this.lnkFirst.Location = new System.Drawing.Point(292, 7);
+            this.lnkFirst.Location = new System.Drawing.Point(389, 8);
             this.lnkFirst.Name = "lnkFirst";
             this.lnkFirst.Size = new System.Drawing.Size(37, 23);
             this.lnkFirst.TabIndex = 28;
@@ -378,7 +412,7 @@
             // label2
             // 
             this.label2.AutoSize = true;
-            this.label2.Location = new System.Drawing.Point(199, 13);
+            this.label2.Location = new System.Drawing.Point(233, 13);
             this.label2.Name = "label2";
             this.label2.Size = new System.Drawing.Size(41, 12);
             this.label2.TabIndex = 27;
@@ -530,40 +564,6 @@
             this.dgV_ParticlesDevidePage.TabIndex = 5;
             this.dgV_ParticlesDevidePage.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgV_ParticlesDevidePage_MouseDown);
             // 
-            // label3
-            // 
-            this.label3.AutoSize = true;
-            this.label3.Location = new System.Drawing.Point(671, 14);
-            this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(65, 12);
-            this.label3.TabIndex = 36;
-            this.label3.Text = "ParticleId";
-            this.label3.Visible = false;
-            // 
-            // tB_ParticleId
-            // 
-            this.tB_ParticleId.Location = new System.Drawing.Point(742, 10);
-            this.tB_ParticleId.Name = "tB_ParticleId";
-            this.tB_ParticleId.Size = new System.Drawing.Size(76, 21);
-            this.tB_ParticleId.TabIndex = 37;
-            this.tB_ParticleId.Visible = false;
-            // 
-            // label7
-            // 
-            this.label7.AutoSize = true;
-            this.label7.Location = new System.Drawing.Point(542, 15);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(47, 12);
-            this.label7.TabIndex = 38;
-            this.label7.Text = "FieldId";
-            // 
-            // tB_FieldId
-            // 
-            this.tB_FieldId.Location = new System.Drawing.Point(595, 11);
-            this.tB_FieldId.Name = "tB_FieldId";
-            this.tB_FieldId.Size = new System.Drawing.Size(68, 21);
-            this.tB_FieldId.TabIndex = 39;
-            // 
             // ParticlesGridDevidePage
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);