Browse Source

设置 设置BSE图可视化灰度范围 英文化 界面

CXS 3 years ago
parent
commit
b12afb0c97

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

@@ -1415,7 +1415,7 @@
     <Controls>
       <Control name="ToolWindow" text="Set the visual gray range of BSE image" />
 	  <Control name="groupBox1" text="Set parameters" />
-	  <Control name="label1" text="Gray scale range" />
+	  <Control name="label1" text="Grayscale range" />
 	  <Control name="btnYes" text="confirm" />
 	  <Control name="btnCancel" text="cancel" />
     </Controls>

+ 39 - 25
OTSIncAMeasureApp/5-OTSMeasureStatuImageFun/ToolWindow.Designer.cs

@@ -50,10 +50,11 @@
             // 
             // tbGrayStart
             // 
-            this.tbGrayStart.Location = new System.Drawing.Point(239, 50);
+            this.tbGrayStart.Location = new System.Drawing.Point(394, 78);
+            this.tbGrayStart.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.tbGrayStart.Maximum = 255;
             this.tbGrayStart.Name = "tbGrayStart";
-            this.tbGrayStart.Size = new System.Drawing.Size(97, 45);
+            this.tbGrayStart.Size = new System.Drawing.Size(146, 69);
             this.tbGrayStart.TabIndex = 5;
             this.tbGrayStart.TickStyle = System.Windows.Forms.TickStyle.None;
             this.tbGrayStart.Scroll += new System.EventHandler(this.tbGrayStart_Scroll);
@@ -61,53 +62,58 @@
             // label1
             // 
             this.label1.AutoSize = true;
-            this.label1.Location = new System.Drawing.Point(11, 33);
+            this.label1.Location = new System.Drawing.Point(16, 50);
+            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(53, 12);
+            this.label1.Size = new System.Drawing.Size(80, 18);
             this.label1.TabIndex = 6;
             this.label1.Text = "灰度范围";
             // 
             // nuDownGrayStart
             // 
-            this.nuDownGrayStart.Location = new System.Drawing.Point(86, 29);
+            this.nuDownGrayStart.Location = new System.Drawing.Point(165, 47);
+            this.nuDownGrayStart.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.nuDownGrayStart.Maximum = new decimal(new int[] {
             255,
             0,
             0,
             0});
             this.nuDownGrayStart.Name = "nuDownGrayStart";
-            this.nuDownGrayStart.Size = new System.Drawing.Size(68, 21);
+            this.nuDownGrayStart.Size = new System.Drawing.Size(102, 28);
             this.nuDownGrayStart.TabIndex = 8;
             this.nuDownGrayStart.ValueChanged += new System.EventHandler(this.nuDwonGrayStart_ValueChanged);
             // 
             // nuDownGrayEnd
             // 
-            this.nuDownGrayEnd.Location = new System.Drawing.Point(169, 29);
+            this.nuDownGrayEnd.Location = new System.Drawing.Point(290, 47);
+            this.nuDownGrayEnd.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.nuDownGrayEnd.Maximum = new decimal(new int[] {
             255,
             0,
             0,
             0});
             this.nuDownGrayEnd.Name = "nuDownGrayEnd";
-            this.nuDownGrayEnd.Size = new System.Drawing.Size(68, 21);
+            this.nuDownGrayEnd.Size = new System.Drawing.Size(102, 28);
             this.nuDownGrayEnd.TabIndex = 7;
             this.nuDownGrayEnd.ValueChanged += new System.EventHandler(this.nuDownGrayEnd_ValueChanged);
             // 
             // label2
             // 
             this.label2.AutoSize = true;
-            this.label2.Location = new System.Drawing.Point(156, 33);
+            this.label2.Location = new System.Drawing.Point(270, 53);
+            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(11, 12);
+            this.label2.Size = new System.Drawing.Size(17, 18);
             this.label2.TabIndex = 9;
             this.label2.Text = "-";
             // 
             // btnYes
             // 
             this.btnYes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnYes.Location = new System.Drawing.Point(846, 16);
+            this.btnYes.Location = new System.Drawing.Point(1269, 24);
+            this.btnYes.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.btnYes.Name = "btnYes";
-            this.btnYes.Size = new System.Drawing.Size(75, 51);
+            this.btnYes.Size = new System.Drawing.Size(112, 76);
             this.btnYes.TabIndex = 10;
             this.btnYes.Text = "确认";
             this.btnYes.UseVisualStyleBackColor = true;
@@ -116,9 +122,10 @@
             // btnCancel
             // 
             this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.btnCancel.Location = new System.Drawing.Point(927, 16);
+            this.btnCancel.Location = new System.Drawing.Point(1390, 24);
+            this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.btnCancel.Name = "btnCancel";
-            this.btnCancel.Size = new System.Drawing.Size(75, 51);
+            this.btnCancel.Size = new System.Drawing.Size(112, 76);
             this.btnCancel.TabIndex = 10;
             this.btnCancel.Text = "取消";
             this.btnCancel.UseVisualStyleBackColor = true;
@@ -126,28 +133,31 @@
             // 
             // tbGrayEnd
             // 
-            this.tbGrayEnd.Location = new System.Drawing.Point(331, 50);
+            this.tbGrayEnd.Location = new System.Drawing.Point(532, 78);
+            this.tbGrayEnd.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.tbGrayEnd.Maximum = 255;
             this.tbGrayEnd.Name = "tbGrayEnd";
-            this.tbGrayEnd.Size = new System.Drawing.Size(97, 45);
+            this.tbGrayEnd.Size = new System.Drawing.Size(146, 69);
             this.tbGrayEnd.TabIndex = 11;
             this.tbGrayEnd.TickStyle = System.Windows.Forms.TickStyle.None;
             this.tbGrayEnd.Scroll += new System.EventHandler(this.tbGrayEnd_Scroll);
             // 
             // txtGrayStart
             // 
-            this.txtGrayStart.Location = new System.Drawing.Point(248, 29);
+            this.txtGrayStart.Location = new System.Drawing.Point(408, 47);
+            this.txtGrayStart.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.txtGrayStart.Name = "txtGrayStart";
             this.txtGrayStart.ReadOnly = true;
-            this.txtGrayStart.Size = new System.Drawing.Size(80, 21);
+            this.txtGrayStart.Size = new System.Drawing.Size(118, 28);
             this.txtGrayStart.TabIndex = 12;
             // 
             // txtGrayEnd
             // 
-            this.txtGrayEnd.Location = new System.Drawing.Point(340, 29);
+            this.txtGrayEnd.Location = new System.Drawing.Point(546, 47);
+            this.txtGrayEnd.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.txtGrayEnd.Name = "txtGrayEnd";
             this.txtGrayEnd.ReadOnly = true;
-            this.txtGrayEnd.Size = new System.Drawing.Size(80, 21);
+            this.txtGrayEnd.Size = new System.Drawing.Size(118, 28);
             this.txtGrayEnd.TabIndex = 13;
             // 
             // groupBox1
@@ -163,9 +173,11 @@
             this.groupBox1.Controls.Add(this.label1);
             this.groupBox1.Controls.Add(this.tbGrayStart);
             this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.groupBox1.Location = new System.Drawing.Point(0, 656);
+            this.groupBox1.Location = new System.Drawing.Point(0, 984);
+            this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Size = new System.Drawing.Size(1008, 73);
+            this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.groupBox1.Size = new System.Drawing.Size(1512, 110);
             this.groupBox1.TabIndex = 5;
             this.groupBox1.TabStop = false;
             this.groupBox1.Text = "设置参数";
@@ -174,20 +186,22 @@
             // 
             this.pbBSEImage.Dock = System.Windows.Forms.DockStyle.Fill;
             this.pbBSEImage.Location = new System.Drawing.Point(0, 0);
+            this.pbBSEImage.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.pbBSEImage.Name = "pbBSEImage";
-            this.pbBSEImage.Size = new System.Drawing.Size(1008, 656);
+            this.pbBSEImage.Size = new System.Drawing.Size(1512, 984);
             this.pbBSEImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
             this.pbBSEImage.TabIndex = 6;
             this.pbBSEImage.TabStop = false;
             // 
             // ToolWindow
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(1008, 729);
+            this.ClientSize = new System.Drawing.Size(1512, 1094);
             this.Controls.Add(this.pbBSEImage);
             this.Controls.Add(this.groupBox1);
             this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
             this.Name = "ToolWindow";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
             this.Text = "设置BSE图可视化灰度范围";