Browse Source

校正NG窗口。

sat23 3 years ago
parent
commit
c3b49853b1
2 changed files with 23 additions and 17 deletions
  1. 22 16
      Views/Verify.Designer.cs
  2. 1 1
      Views/Verify.cs

+ 22 - 16
Views/Verify.Designer.cs

@@ -30,20 +30,10 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Verify));
-            this.LB_MSG = new CCWin.SkinControl.SkinLabel();
             this.BT_OK = new CCWin.SkinControl.SkinButton();
+            this.LB_MSG = new System.Windows.Forms.TextBox();
             this.SuspendLayout();
             // 
-            // LB_MSG
-            // 
-            this.LB_MSG.BackColor = System.Drawing.Color.Transparent;
-            this.LB_MSG.BorderColor = System.Drawing.Color.White;
-            this.LB_MSG.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.LB_MSG.Location = new System.Drawing.Point(6, 44);
-            this.LB_MSG.Name = "LB_MSG";
-            this.LB_MSG.Size = new System.Drawing.Size(492, 135);
-            this.LB_MSG.TabIndex = 0;
-            // 
             // BT_OK
             // 
             this.BT_OK.BackColor = System.Drawing.Color.Transparent;
@@ -52,7 +42,7 @@
             this.BT_OK.ControlState = CCWin.SkinClass.ControlState.Normal;
             this.BT_OK.DownBack = null;
             this.BT_OK.DownBaseColor = System.Drawing.Color.Yellow;
-            this.BT_OK.Location = new System.Drawing.Point(412, 186);
+            this.BT_OK.Location = new System.Drawing.Point(360, 174);
             this.BT_OK.Margin = new System.Windows.Forms.Padding(2);
             this.BT_OK.MouseBack = null;
             this.BT_OK.Name = "BT_OK";
@@ -63,6 +53,22 @@
             this.BT_OK.UseVisualStyleBackColor = false;
             this.BT_OK.Click += new System.EventHandler(this.BT_OK_Click);
             // 
+            // LB_MSG
+            // 
+            this.LB_MSG.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.LB_MSG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            this.LB_MSG.BorderStyle = System.Windows.Forms.BorderStyle.None;
+            this.LB_MSG.Font = new System.Drawing.Font("新宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.LB_MSG.Location = new System.Drawing.Point(11, 48);
+            this.LB_MSG.Multiline = true;
+            this.LB_MSG.Name = "LB_MSG";
+            this.LB_MSG.ReadOnly = true;
+            this.LB_MSG.Size = new System.Drawing.Size(434, 122);
+            this.LB_MSG.TabIndex = 3;
+            this.LB_MSG.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+            // 
             // Verify
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -71,10 +77,10 @@
             this.CanResize = false;
             this.CaptionBackColorBottom = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
             this.CaptionBackColorTop = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
-            this.ClientSize = new System.Drawing.Size(505, 226);
+            this.ClientSize = new System.Drawing.Size(456, 210);
             this.ControlBox = false;
-            this.Controls.Add(this.BT_OK);
             this.Controls.Add(this.LB_MSG);
+            this.Controls.Add(this.BT_OK);
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
             this.MaximizeBox = false;
             this.MinimizeBox = false;
@@ -82,12 +88,12 @@
             this.Text = "Verify";
             this.Load += new System.EventHandler(this.Verify_Load);
             this.ResumeLayout(false);
+            this.PerformLayout();
 
         }
 
         #endregion
-
-        private CCWin.SkinControl.SkinLabel LB_MSG;
         private CCWin.SkinControl.SkinButton BT_OK;
+        private System.Windows.Forms.TextBox LB_MSG;
     }
 }

+ 1 - 1
Views/Verify.cs

@@ -39,7 +39,7 @@ namespace MOKA_Factory_Tools
             LB_MSG.AutoSize = true;
 
             // 使控件居中显示;
-              SetControlCenter(LB_MSG);
+            SetControlCenter(LB_MSG);
         }
 
         private void BT_OK_Click(object sender, EventArgs e)