From f15a1e9e6060cdaff6b5cd44225611133a128a60 Mon Sep 17 00:00:00 2001 From: "ruoxing.wang" <88384874@qq.com> Date: Mon, 24 Feb 2025 14:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=A1=91=E6=9F=A5=E8=AF=A2=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=A2=9E=E5=8A=A0=E6=9D=A1=E7=A0=81=E8=A1=A5=E6=89=93?= =?UTF-8?q?=E7=9B=B8=E5=90=8C=E6=9D=A1=E7=A0=81=E7=9A=84=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FacOneZPStation/FrmZP.Designer.cs | 166 +++---- InjectionPC/FrmMain.Designer.cs | 437 +++++++++--------- InjectionPC/FrmMain2411.Designer.cs | 405 ++++++++-------- InjectionSearch/Form1.cs | 14 +- .../FrmBarCodeSearch2502.Designer.cs | 215 +++++++++ InjectionSearch/FrmBarCodeSearch2502.cs | 246 ++++++++++ InjectionSearch/FrmBarCodeSearch2502.resx | 123 +++++ InjectionSearch/InjectionSearch.csproj | 9 + MESClassLibrary/BLL/BasicInfo/BarCodeBLL.cs | 14 + MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs | 14 +- MESClassLibrary/DAL/User/UserDAL.cs | 13 +- .../ForeignColorMapHandler.ashx.cs | 4 +- 12 files changed, 1135 insertions(+), 525 deletions(-) create mode 100644 InjectionSearch/FrmBarCodeSearch2502.Designer.cs create mode 100644 InjectionSearch/FrmBarCodeSearch2502.cs create mode 100644 InjectionSearch/FrmBarCodeSearch2502.resx diff --git a/FacOneZPStation/FrmZP.Designer.cs b/FacOneZPStation/FrmZP.Designer.cs index 3a47e9d..7a76f92 100644 --- a/FacOneZPStation/FrmZP.Designer.cs +++ b/FacOneZPStation/FrmZP.Designer.cs @@ -77,7 +77,7 @@ this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.51529F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.62445F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 32.86026F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 717F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 786F)); this.tableLayoutPanel3.Controls.Add(this.button6, 3, 0); this.tableLayoutPanel3.Controls.Add(this.button1, 0, 1); this.tableLayoutPanel3.Controls.Add(this.button5, 2, 1); @@ -86,14 +86,14 @@ this.tableLayoutPanel3.Controls.Add(this.button2, 1, 1); this.tableLayoutPanel3.Controls.Add(this.button7, 3, 1); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel3.Location = new System.Drawing.Point(6, 1224); - this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.tableLayoutPanel3.Location = new System.Drawing.Point(7, 1400); + this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 2; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); - this.tableLayoutPanel3.Size = new System.Drawing.Size(2335, 371); + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(2546, 423); this.tableLayoutPanel3.TabIndex = 3; // // button6 @@ -102,10 +102,10 @@ this.button6.Dock = System.Windows.Forms.DockStyle.Fill; this.button6.Font = new System.Drawing.Font("黑体", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button6.ForeColor = System.Drawing.Color.Black; - this.button6.Location = new System.Drawing.Point(1630, 12); - this.button6.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12); + this.button6.Location = new System.Drawing.Point(1772, 14); + this.button6.Margin = new System.Windows.Forms.Padding(14); this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(692, 161); + this.button6.Size = new System.Drawing.Size(760, 183); this.button6.TabIndex = 7; this.button6.Text = "手动打印箱单"; this.button6.UseVisualStyleBackColor = false; @@ -116,10 +116,10 @@ this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.button1.Dock = System.Windows.Forms.DockStyle.Fill; this.button1.Font = new System.Drawing.Font("黑体", 16F); - this.button1.Location = new System.Drawing.Point(6, 190); - this.button1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.button1.Location = new System.Drawing.Point(7, 217); + this.button1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(530, 176); + this.button1.Size = new System.Drawing.Size(575, 200); this.button1.TabIndex = 6; this.button1.Text = "打印标签"; this.button1.UseVisualStyleBackColor = false; @@ -131,10 +131,10 @@ this.button5.Dock = System.Windows.Forms.DockStyle.Fill; this.button5.Font = new System.Drawing.Font("黑体", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button5.ForeColor = System.Drawing.Color.Black; - this.button5.Location = new System.Drawing.Point(1099, 197); - this.button5.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12); + this.button5.Location = new System.Drawing.Point(1194, 225); + this.button5.Margin = new System.Windows.Forms.Padding(14); this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(505, 162); + this.button5.Size = new System.Drawing.Size(550, 184); this.button5.TabIndex = 5; this.button5.Text = "不合格"; this.button5.UseVisualStyleBackColor = false; @@ -145,10 +145,10 @@ this.button4.BackColor = System.Drawing.Color.RoyalBlue; this.button4.Dock = System.Windows.Forms.DockStyle.Fill; this.button4.Font = new System.Drawing.Font("黑体", 16F); - this.button4.Location = new System.Drawing.Point(548, 5); - this.button4.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.button4.Location = new System.Drawing.Point(596, 6); + this.button4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(532, 175); + this.button4.Size = new System.Drawing.Size(577, 199); this.button4.TabIndex = 4; this.button4.Text = "下一计划"; this.button4.UseVisualStyleBackColor = false; @@ -159,10 +159,10 @@ this.button3.BackColor = System.Drawing.Color.Aqua; this.button3.Dock = System.Windows.Forms.DockStyle.Fill; this.button3.Font = new System.Drawing.Font("黑体", 16F); - this.button3.Location = new System.Drawing.Point(6, 5); - this.button3.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.button3.Location = new System.Drawing.Point(7, 6); + this.button3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(530, 175); + this.button3.Size = new System.Drawing.Size(575, 199); this.button3.TabIndex = 3; this.button3.Text = "上一计划"; this.button3.UseVisualStyleBackColor = false; @@ -174,10 +174,10 @@ this.button2.Dock = System.Windows.Forms.DockStyle.Fill; this.button2.Font = new System.Drawing.Font("黑体", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button2.ForeColor = System.Drawing.Color.Black; - this.button2.Location = new System.Drawing.Point(555, 197); - this.button2.Margin = new System.Windows.Forms.Padding(13, 12, 13, 12); + this.button2.Location = new System.Drawing.Point(603, 225); + this.button2.Margin = new System.Windows.Forms.Padding(14); this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(518, 162); + this.button2.Size = new System.Drawing.Size(563, 184); this.button2.TabIndex = 2; this.button2.Text = "补打标签"; this.button2.UseVisualStyleBackColor = false; @@ -188,10 +188,10 @@ this.button7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.button7.Dock = System.Windows.Forms.DockStyle.Fill; this.button7.Font = new System.Drawing.Font("黑体", 16F); - this.button7.Location = new System.Drawing.Point(1623, 190); - this.button7.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.button7.Location = new System.Drawing.Point(1765, 217); + this.button7.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(706, 176); + this.button7.Size = new System.Drawing.Size(774, 200); this.button7.TabIndex = 8; this.button7.Text = "补打箱单"; this.button7.UseVisualStyleBackColor = false; @@ -203,11 +203,11 @@ this.label7.Dock = System.Windows.Forms.DockStyle.Fill; this.label7.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label7.ForeColor = System.Drawing.Color.White; - this.label7.Location = new System.Drawing.Point(1301, 3); + this.label7.Location = new System.Drawing.Point(1414, 3); this.label7.Margin = new System.Windows.Forms.Padding(2); this.label7.Name = "label7"; this.tableLayoutPanel4.SetRowSpan(this.label7, 2); - this.label7.Size = new System.Drawing.Size(249, 210); + this.label7.Size = new System.Drawing.Size(272, 241); this.label7.TabIndex = 32; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // @@ -215,10 +215,10 @@ // this.textBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox2.Font = new System.Drawing.Font("黑体", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox2.Location = new System.Drawing.Point(375, 111); - this.textBox2.Margin = new System.Windows.Forms.Padding(4); + this.textBox2.Location = new System.Drawing.Point(408, 127); + this.textBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(919, 77); + this.textBox2.Size = new System.Drawing.Size(999, 87); this.textBox2.TabIndex = 30; this.textBox2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox2_KeyDown); // @@ -227,10 +227,10 @@ this.label3.Dock = System.Windows.Forms.DockStyle.Fill; this.label3.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label3.ForeColor = System.Drawing.Color.White; - this.label3.Location = new System.Drawing.Point(5, 107); + this.label3.Location = new System.Drawing.Point(5, 122); this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(361, 108); + this.label3.Size = new System.Drawing.Size(394, 124); this.label3.TabIndex = 29; this.label3.Text = "扫描物料条码"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -240,10 +240,10 @@ this.labOrderNo.Dock = System.Windows.Forms.DockStyle.Fill; this.labOrderNo.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.labOrderNo.ForeColor = System.Drawing.Color.White; - this.labOrderNo.Location = new System.Drawing.Point(1555, 218); + this.labOrderNo.Location = new System.Drawing.Point(1691, 249); this.labOrderNo.Margin = new System.Windows.Forms.Padding(2); this.labOrderNo.Name = "labOrderNo"; - this.labOrderNo.Size = new System.Drawing.Size(781, 151); + this.labOrderNo.Size = new System.Drawing.Size(858, 174); this.labOrderNo.TabIndex = 28; this.labOrderNo.Text = "A64654646464"; this.labOrderNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -254,10 +254,10 @@ this.label4.Dock = System.Windows.Forms.DockStyle.Fill; this.label4.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label4.ForeColor = System.Drawing.Color.White; - this.label4.Location = new System.Drawing.Point(1301, 218); + this.label4.Location = new System.Drawing.Point(1414, 249); this.label4.Margin = new System.Windows.Forms.Padding(2); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(249, 151); + this.label4.Size = new System.Drawing.Size(272, 174); this.label4.TabIndex = 27; this.label4.Text = "计划编号"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -268,10 +268,10 @@ this.labStationNo.Dock = System.Windows.Forms.DockStyle.Fill; this.labStationNo.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.labStationNo.ForeColor = System.Drawing.Color.White; - this.labStationNo.Location = new System.Drawing.Point(373, 218); + this.labStationNo.Location = new System.Drawing.Point(406, 249); this.labStationNo.Margin = new System.Windows.Forms.Padding(2); this.labStationNo.Name = "labStationNo"; - this.labStationNo.Size = new System.Drawing.Size(923, 151); + this.labStationNo.Size = new System.Drawing.Size(1003, 174); this.labStationNo.TabIndex = 26; this.labStationNo.Text = "V253-MF-S后保下部延伸焊接"; this.labStationNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -282,10 +282,10 @@ this.label2.Dock = System.Windows.Forms.DockStyle.Fill; this.label2.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.ForeColor = System.Drawing.Color.White; - this.label2.Location = new System.Drawing.Point(3, 218); + this.label2.Location = new System.Drawing.Point(3, 249); this.label2.Margin = new System.Windows.Forms.Padding(2); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(365, 151); + this.label2.Size = new System.Drawing.Size(398, 174); this.label2.TabIndex = 25; this.label2.Text = "工位名称"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -295,10 +295,10 @@ this.labPName.Dock = System.Windows.Forms.DockStyle.Fill; this.labPName.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.labPName.ForeColor = System.Drawing.Color.White; - this.labPName.Location = new System.Drawing.Point(1555, 374); + this.labPName.Location = new System.Drawing.Point(1691, 428); this.labPName.Margin = new System.Windows.Forms.Padding(2); this.labPName.Name = "labPName"; - this.labPName.Size = new System.Drawing.Size(781, 248); + this.labPName.Size = new System.Drawing.Size(858, 284); this.labPName.TabIndex = 24; this.labPName.Text = "MF253 MF S后保"; this.labPName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -309,10 +309,10 @@ this.label8.Dock = System.Windows.Forms.DockStyle.Fill; this.label8.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label8.ForeColor = System.Drawing.Color.White; - this.label8.Location = new System.Drawing.Point(1301, 374); + this.label8.Location = new System.Drawing.Point(1414, 428); this.label8.Margin = new System.Windows.Forms.Padding(2); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(249, 248); + this.label8.Size = new System.Drawing.Size(272, 284); this.label8.TabIndex = 23; this.label8.Text = "产品名称"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -323,10 +323,10 @@ this.labPartNo.Dock = System.Windows.Forms.DockStyle.Fill; this.labPartNo.Font = new System.Drawing.Font("黑体", 42F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.labPartNo.ForeColor = System.Drawing.Color.White; - this.labPartNo.Location = new System.Drawing.Point(373, 374); + this.labPartNo.Location = new System.Drawing.Point(406, 428); this.labPartNo.Margin = new System.Windows.Forms.Padding(2); this.labPartNo.Name = "labPartNo"; - this.labPartNo.Size = new System.Drawing.Size(923, 248); + this.labPartNo.Size = new System.Drawing.Size(1003, 284); this.labPartNo.TabIndex = 22; this.labPartNo.Text = "A2530822665"; this.labPartNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -342,10 +342,10 @@ this.label6.Dock = System.Windows.Forms.DockStyle.Fill; this.label6.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label6.ForeColor = System.Drawing.Color.White; - this.label6.Location = new System.Drawing.Point(3, 374); + this.label6.Location = new System.Drawing.Point(3, 428); this.label6.Margin = new System.Windows.Forms.Padding(2); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(365, 248); + this.label6.Size = new System.Drawing.Size(398, 284); this.label6.TabIndex = 21; this.label6.Text = "产品代码"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -356,10 +356,10 @@ this.labBadCount.Dock = System.Windows.Forms.DockStyle.Fill; this.labBadCount.Font = new System.Drawing.Font("黑体", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.labBadCount.ForeColor = System.Drawing.Color.Lime; - this.labBadCount.Location = new System.Drawing.Point(1555, 627); + this.labBadCount.Location = new System.Drawing.Point(1691, 717); this.labBadCount.Margin = new System.Windows.Forms.Padding(2); this.labBadCount.Name = "labBadCount"; - this.labBadCount.Size = new System.Drawing.Size(781, 451); + this.labBadCount.Size = new System.Drawing.Size(858, 515); this.labBadCount.TabIndex = 20; this.labBadCount.Text = "0"; this.labBadCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -370,10 +370,10 @@ this.labNum.Dock = System.Windows.Forms.DockStyle.Fill; this.labNum.Font = new System.Drawing.Font("黑体", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.labNum.ForeColor = System.Drawing.Color.Lime; - this.labNum.Location = new System.Drawing.Point(373, 627); + this.labNum.Location = new System.Drawing.Point(406, 717); this.labNum.Margin = new System.Windows.Forms.Padding(2); this.labNum.Name = "labNum"; - this.labNum.Size = new System.Drawing.Size(923, 451); + this.labNum.Size = new System.Drawing.Size(1003, 515); this.labNum.TabIndex = 18; this.labNum.Text = "152/210"; this.labNum.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -384,10 +384,10 @@ this.label10.Dock = System.Windows.Forms.DockStyle.Fill; this.label10.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label10.ForeColor = System.Drawing.Color.White; - this.label10.Location = new System.Drawing.Point(3, 627); + this.label10.Location = new System.Drawing.Point(3, 717); this.label10.Margin = new System.Windows.Forms.Padding(2); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(365, 451); + this.label10.Size = new System.Drawing.Size(398, 515); this.label10.TabIndex = 17; this.label10.Text = "计划/完成数"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -400,7 +400,7 @@ this.label14.Location = new System.Drawing.Point(5, 1); this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(361, 105); + this.label14.Size = new System.Drawing.Size(394, 120); this.label14.TabIndex = 12; this.label14.Text = "扫描本体条码"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -409,10 +409,10 @@ // this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox1.Font = new System.Drawing.Font("黑体", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox1.Location = new System.Drawing.Point(375, 5); - this.textBox1.Margin = new System.Windows.Forms.Padding(4); + this.textBox1.Location = new System.Drawing.Point(408, 6); + this.textBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(919, 77); + this.textBox1.Size = new System.Drawing.Size(999, 87); this.textBox1.TabIndex = 13; this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown); // @@ -421,11 +421,11 @@ this.labErrMessage.Dock = System.Windows.Forms.DockStyle.Fill; this.labErrMessage.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.labErrMessage.ForeColor = System.Drawing.Color.Red; - this.labErrMessage.Location = new System.Drawing.Point(1557, 1); + this.labErrMessage.Location = new System.Drawing.Point(1693, 1); this.labErrMessage.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.labErrMessage.Name = "labErrMessage"; this.tableLayoutPanel4.SetRowSpan(this.labErrMessage, 2); - this.labErrMessage.Size = new System.Drawing.Size(777, 214); + this.labErrMessage.Size = new System.Drawing.Size(854, 245); this.labErrMessage.TabIndex = 16; this.labErrMessage.Text = "条码与产品不匹配,重新扫描"; this.labErrMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -437,9 +437,9 @@ this.tableLayoutPanel4.ColumnCount = 4; this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 28.52292F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 71.47708F)); - this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 253F)); - this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 784F)); - this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 37F)); + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 276F)); + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 861F)); + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel4.Controls.Add(this.label7, 2, 0); this.tableLayoutPanel4.Controls.Add(this.textBox2, 1, 1); this.tableLayoutPanel4.Controls.Add(this.label3, 0, 1); @@ -459,17 +459,17 @@ this.tableLayoutPanel4.Controls.Add(this.textBox1, 1, 0); this.tableLayoutPanel4.Controls.Add(this.labErrMessage, 3, 0); this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel4.Location = new System.Drawing.Point(4, 134); - this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(4); + this.tableLayoutPanel4.Location = new System.Drawing.Point(4, 154); + this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel4.RowCount = 5; this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.8932F)); this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 17.47573F)); this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40.52419F)); - this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 452F)); - this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); - this.tableLayoutPanel4.Size = new System.Drawing.Size(2339, 1081); + this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 517F)); + this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); + this.tableLayoutPanel4.Size = new System.Drawing.Size(2552, 1235); this.tableLayoutPanel4.TabIndex = 2; // // label12 @@ -478,10 +478,10 @@ this.label12.Dock = System.Windows.Forms.DockStyle.Fill; this.label12.Font = new System.Drawing.Font("黑体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label12.ForeColor = System.Drawing.Color.White; - this.label12.Location = new System.Drawing.Point(1301, 627); + this.label12.Location = new System.Drawing.Point(1414, 717); this.label12.Margin = new System.Windows.Forms.Padding(2); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(249, 451); + this.label12.Size = new System.Drawing.Size(272, 515); this.label12.TabIndex = 19; this.label12.Text = "不合格数"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -491,10 +491,10 @@ this.labTime.BackColor = System.Drawing.Color.Transparent; this.labTime.Dock = System.Windows.Forms.DockStyle.Fill; this.labTime.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTime.Location = new System.Drawing.Point(1756, 0); + this.labTime.Location = new System.Drawing.Point(1912, 0); this.labTime.Margin = new System.Windows.Forms.Padding(0); this.labTime.Name = "labTime"; - this.labTime.Size = new System.Drawing.Size(591, 130); + this.labTime.Size = new System.Drawing.Size(648, 149); this.labTime.TabIndex = 7; this.labTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.labTime.Click += new System.EventHandler(this.labTime_Click); @@ -508,7 +508,7 @@ this.pictureBox1.Location = new System.Drawing.Point(0, 0); this.pictureBox1.Margin = new System.Windows.Forms.Padding(0); this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(318, 130); + this.pictureBox1.Size = new System.Drawing.Size(346, 149); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; @@ -518,10 +518,10 @@ this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("黑体", 22F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.Location = new System.Drawing.Point(318, 0); + this.label1.Location = new System.Drawing.Point(346, 0); this.label1.Margin = new System.Windows.Forms.Padding(0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(1438, 130); + this.label1.Size = new System.Drawing.Size(1566, 149); this.label1.TabIndex = 1; this.label1.Text = "装配工位信息看板"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -532,7 +532,7 @@ this.tableLayoutPanel2.ColumnCount = 3; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 18.10651F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 81.89349F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 590F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 647F)); this.tableLayoutPanel2.Controls.Add(this.labTime, 2, 0); this.tableLayoutPanel2.Controls.Add(this.pictureBox1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.label1, 1, 0); @@ -542,7 +542,7 @@ this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(2347, 130); + this.tableLayoutPanel2.Size = new System.Drawing.Size(2560, 149); this.tableLayoutPanel2.TabIndex = 0; // // tableLayoutPanel1 @@ -559,18 +559,18 @@ this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.69692F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.30308F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 380F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(2347, 1600); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 434F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(2560, 1829); this.tableLayoutPanel1.TabIndex = 9; // // FrmZP // - this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F); + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(2347, 1600); + this.ClientSize = new System.Drawing.Size(2560, 1829); this.Controls.Add(this.tableLayoutPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.Name = "FrmZP"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FrmZP"; diff --git a/InjectionPC/FrmMain.Designer.cs b/InjectionPC/FrmMain.Designer.cs index e87b0d6..f400e0d 100644 --- a/InjectionPC/FrmMain.Designer.cs +++ b/InjectionPC/FrmMain.Designer.cs @@ -28,7 +28,6 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn(); GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn(); @@ -118,10 +117,10 @@ this.label2 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.timer1 = new System.Windows.Forms.Timer(this.components); - this.serialPort1 = new System.IO.Ports.SerialPort(this.components); - this.timer2 = new System.Windows.Forms.Timer(this.components); - this.timer3 = new System.Windows.Forms.Timer(this.components); + this.timer1 = new System.Windows.Forms.Timer(); + this.serialPort1 = new System.IO.Ports.SerialPort(); + this.timer2 = new System.Windows.Forms.Timer(); + this.timer3 = new System.Windows.Forms.Timer(); this.panel1.SuspendLayout(); this.panel7.SuspendLayout(); this.panel23.SuspendLayout(); @@ -176,9 +175,9 @@ this.panel1.Controls.Add(this.panel2); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(2347, 1539); + this.panel1.Size = new System.Drawing.Size(2560, 1759); this.panel1.TabIndex = 0; // // panel7 @@ -187,10 +186,10 @@ this.panel7.Controls.Add(this.panel8); this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; this.panel7.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); - this.panel7.Location = new System.Drawing.Point(0, 147); - this.panel7.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel7.Location = new System.Drawing.Point(0, 168); + this.panel7.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(2347, 1392); + this.panel7.Size = new System.Drawing.Size(2560, 1591); this.panel7.TabIndex = 1; // // panel23 @@ -198,10 +197,10 @@ this.panel23.Controls.Add(this.panel27); this.panel23.Controls.Add(this.panel24); this.panel23.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel23.Location = new System.Drawing.Point(0, 91); - this.panel23.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel23.Location = new System.Drawing.Point(0, 104); + this.panel23.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel23.Name = "panel23"; - this.panel23.Size = new System.Drawing.Size(2347, 1301); + this.panel23.Size = new System.Drawing.Size(2560, 1487); this.panel23.TabIndex = 1; // // panel27 @@ -209,10 +208,10 @@ this.panel27.Controls.Add(this.panel29); this.panel27.Controls.Add(this.panel28); this.panel27.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel27.Location = new System.Drawing.Point(0, 975); - this.panel27.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel27.Location = new System.Drawing.Point(0, 1114); + this.panel27.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel27.Name = "panel27"; - this.panel27.Size = new System.Drawing.Size(2347, 326); + this.panel27.Size = new System.Drawing.Size(2560, 373); this.panel27.TabIndex = 1; // // panel29 @@ -220,10 +219,10 @@ this.panel29.Controls.Add(this.panel31); this.panel29.Controls.Add(this.panel30); this.panel29.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel29.Location = new System.Drawing.Point(310, 0); - this.panel29.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel29.Location = new System.Drawing.Point(338, 0); + this.panel29.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel29.Name = "panel29"; - this.panel29.Size = new System.Drawing.Size(2037, 326); + this.panel29.Size = new System.Drawing.Size(2222, 373); this.panel29.TabIndex = 1; // // panel31 @@ -231,10 +230,10 @@ this.panel31.Controls.Add(this.panel33); this.panel31.Controls.Add(this.panel32); this.panel31.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel31.Location = new System.Drawing.Point(123, 0); - this.panel31.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel31.Location = new System.Drawing.Point(134, 0); + this.panel31.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel31.Name = "panel31"; - this.panel31.Size = new System.Drawing.Size(1914, 326); + this.panel31.Size = new System.Drawing.Size(2088, 373); this.panel31.TabIndex = 1; // // panel33 @@ -242,10 +241,10 @@ this.panel33.Controls.Add(this.panel35); this.panel33.Controls.Add(this.panel34); this.panel33.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel33.Location = new System.Drawing.Point(123, 0); - this.panel33.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel33.Location = new System.Drawing.Point(134, 0); + this.panel33.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel33.Name = "panel33"; - this.panel33.Size = new System.Drawing.Size(1791, 326); + this.panel33.Size = new System.Drawing.Size(1954, 373); this.panel33.TabIndex = 1; // // panel35 @@ -253,9 +252,9 @@ this.panel35.Controls.Add(this.panel37); this.panel35.Dock = System.Windows.Forms.DockStyle.Fill; this.panel35.Location = new System.Drawing.Point(0, 0); - this.panel35.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel35.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel35.Name = "panel35"; - this.panel35.Size = new System.Drawing.Size(1668, 326); + this.panel35.Size = new System.Drawing.Size(1820, 373); this.panel35.TabIndex = 1; // // panel37 @@ -263,9 +262,9 @@ this.panel37.Controls.Add(this.panel40); this.panel37.Dock = System.Windows.Forms.DockStyle.Fill; this.panel37.Location = new System.Drawing.Point(0, 0); - this.panel37.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel37.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel37.Name = "panel37"; - this.panel37.Size = new System.Drawing.Size(1668, 326); + this.panel37.Size = new System.Drawing.Size(1820, 373); this.panel37.TabIndex = 1; // // panel40 @@ -274,9 +273,9 @@ this.panel40.Controls.Add(this.panel41); this.panel40.Dock = System.Windows.Forms.DockStyle.Fill; this.panel40.Location = new System.Drawing.Point(0, 0); - this.panel40.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel40.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel40.Name = "panel40"; - this.panel40.Size = new System.Drawing.Size(1668, 326); + this.panel40.Size = new System.Drawing.Size(1820, 373); this.panel40.TabIndex = 1; // // panel42 @@ -285,9 +284,9 @@ this.panel42.Controls.Add(this.panel43); this.panel42.Dock = System.Windows.Forms.DockStyle.Fill; this.panel42.Location = new System.Drawing.Point(0, 0); - this.panel42.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel42.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel42.Name = "panel42"; - this.panel42.Size = new System.Drawing.Size(1545, 326); + this.panel42.Size = new System.Drawing.Size(1686, 373); this.panel42.TabIndex = 1; // // panel39 @@ -303,28 +302,28 @@ this.panel39.Controls.Add(this.label21); this.panel39.Dock = System.Windows.Forms.DockStyle.Fill; this.panel39.Location = new System.Drawing.Point(0, 0); - this.panel39.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel39.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel39.Name = "panel39"; - this.panel39.Size = new System.Drawing.Size(1422, 326); + this.panel39.Size = new System.Drawing.Size(1552, 373); this.panel39.TabIndex = 1; // // textBox2 // this.textBox2.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox2.Location = new System.Drawing.Point(220, 292); - this.textBox2.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.textBox2.Location = new System.Drawing.Point(240, 334); + this.textBox2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(303, 65); + this.textBox2.Size = new System.Drawing.Size(330, 74); this.textBox2.TabIndex = 13; // // label18 // this.label18.AutoSize = true; this.label18.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label18.Location = new System.Drawing.Point(40, 303); - this.label18.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label18.Location = new System.Drawing.Point(44, 346); + this.label18.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(178, 51); + this.label18.Size = new System.Drawing.Size(202, 58); this.label18.TabIndex = 12; this.label18.Text = "数量:"; // @@ -332,10 +331,10 @@ // this.label19.AutoSize = true; this.label19.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label19.Location = new System.Drawing.Point(607, 177); - this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label19.Location = new System.Drawing.Point(662, 202); + this.label19.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(238, 51); + this.label19.Size = new System.Drawing.Size(265, 58); this.label19.TabIndex = 11; this.label19.Text = "(yyMMdd)"; // @@ -343,20 +342,20 @@ // this.textBox1.Enabled = false; this.textBox1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox1.Location = new System.Drawing.Point(222, 172); - this.textBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.textBox1.Location = new System.Drawing.Point(242, 197); + this.textBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(301, 65); + this.textBox1.Size = new System.Drawing.Size(328, 74); this.textBox1.TabIndex = 10; // // label20 // this.label20.AutoSize = true; this.label20.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label20.Location = new System.Drawing.Point(42, 186); - this.label20.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label20.Location = new System.Drawing.Point(46, 213); + this.label20.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(178, 51); + this.label20.Size = new System.Drawing.Size(202, 58); this.label20.TabIndex = 9; this.label20.Text = "批次:"; // @@ -365,10 +364,10 @@ this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox2.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.comboBox2.FormattingEnabled = true; - this.comboBox2.Location = new System.Drawing.Point(222, 63); - this.comboBox2.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.comboBox2.Location = new System.Drawing.Point(242, 72); + this.comboBox2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.comboBox2.Name = "comboBox2"; - this.comboBox2.Size = new System.Drawing.Size(851, 50); + this.comboBox2.Size = new System.Drawing.Size(928, 56); this.comboBox2.TabIndex = 8; this.comboBox2.TextChanged += new System.EventHandler(this.comboBox2_TextChanged); // @@ -376,10 +375,10 @@ // this.label21.AutoSize = true; this.label21.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label21.Location = new System.Drawing.Point(42, 70); - this.label21.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label21.Location = new System.Drawing.Point(46, 80); + this.label21.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(178, 51); + this.label21.Size = new System.Drawing.Size(202, 58); this.label21.TabIndex = 7; this.label21.Text = "产品:"; // @@ -387,10 +386,10 @@ // this.panel43.Controls.Add(this.label23); this.panel43.Dock = System.Windows.Forms.DockStyle.Right; - this.panel43.Location = new System.Drawing.Point(1422, 0); - this.panel43.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel43.Location = new System.Drawing.Point(1552, 0); + this.panel43.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel43.Name = "panel43"; - this.panel43.Size = new System.Drawing.Size(123, 326); + this.panel43.Size = new System.Drawing.Size(134, 373); this.panel43.TabIndex = 0; // // label23 @@ -399,9 +398,9 @@ this.label23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label23.Dock = System.Windows.Forms.DockStyle.Fill; this.label23.Location = new System.Drawing.Point(0, 0); - this.label23.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label23.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(123, 326); + this.label23.Size = new System.Drawing.Size(134, 373); this.label23.TabIndex = 0; this.label23.Text = "手工打印条码"; this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -411,10 +410,10 @@ // this.panel41.Controls.Add(this.label22); this.panel41.Dock = System.Windows.Forms.DockStyle.Right; - this.panel41.Location = new System.Drawing.Point(1545, 0); - this.panel41.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel41.Location = new System.Drawing.Point(1686, 0); + this.panel41.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel41.Name = "panel41"; - this.panel41.Size = new System.Drawing.Size(123, 326); + this.panel41.Size = new System.Drawing.Size(134, 373); this.panel41.TabIndex = 0; // // label22 @@ -423,9 +422,9 @@ this.label22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label22.Dock = System.Windows.Forms.DockStyle.Fill; this.label22.Location = new System.Drawing.Point(0, 0); - this.label22.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label22.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(123, 326); + this.label22.Size = new System.Drawing.Size(134, 373); this.label22.TabIndex = 0; this.label22.Text = "补打条码"; this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -435,10 +434,10 @@ // this.panel34.Controls.Add(this.label15); this.panel34.Dock = System.Windows.Forms.DockStyle.Right; - this.panel34.Location = new System.Drawing.Point(1668, 0); - this.panel34.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel34.Location = new System.Drawing.Point(1820, 0); + this.panel34.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel34.Name = "panel34"; - this.panel34.Size = new System.Drawing.Size(123, 326); + this.panel34.Size = new System.Drawing.Size(134, 373); this.panel34.TabIndex = 0; // // label15 @@ -447,9 +446,9 @@ this.label15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label15.Dock = System.Windows.Forms.DockStyle.Fill; this.label15.Location = new System.Drawing.Point(0, 0); - this.label15.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label15.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(123, 326); + this.label15.Size = new System.Drawing.Size(134, 373); this.label15.TabIndex = 0; this.label15.Text = "删除条码"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -460,9 +459,9 @@ this.panel32.Controls.Add(this.label14); this.panel32.Dock = System.Windows.Forms.DockStyle.Left; this.panel32.Location = new System.Drawing.Point(0, 0); - this.panel32.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel32.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel32.Name = "panel32"; - this.panel32.Size = new System.Drawing.Size(123, 326); + this.panel32.Size = new System.Drawing.Size(134, 373); this.panel32.TabIndex = 0; // // label14 @@ -471,9 +470,9 @@ this.label14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label14.Dock = System.Windows.Forms.DockStyle.Fill; this.label14.Location = new System.Drawing.Point(0, 0); - this.label14.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label14.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(123, 326); + this.label14.Size = new System.Drawing.Size(134, 373); this.label14.TabIndex = 0; this.label14.Text = "下一计划"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -484,9 +483,9 @@ this.panel30.Controls.Add(this.label13); this.panel30.Dock = System.Windows.Forms.DockStyle.Left; this.panel30.Location = new System.Drawing.Point(0, 0); - this.panel30.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel30.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel30.Name = "panel30"; - this.panel30.Size = new System.Drawing.Size(123, 326); + this.panel30.Size = new System.Drawing.Size(134, 373); this.panel30.TabIndex = 0; // // label13 @@ -495,9 +494,9 @@ this.label13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label13.Dock = System.Windows.Forms.DockStyle.Fill; this.label13.Location = new System.Drawing.Point(0, 0); - this.label13.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label13.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(123, 326); + this.label13.Size = new System.Drawing.Size(134, 373); this.label13.TabIndex = 0; this.label13.Text = "暂停打印"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -508,9 +507,9 @@ this.panel28.Controls.Add(this.label12); this.panel28.Dock = System.Windows.Forms.DockStyle.Left; this.panel28.Location = new System.Drawing.Point(0, 0); - this.panel28.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel28.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel28.Name = "panel28"; - this.panel28.Size = new System.Drawing.Size(310, 326); + this.panel28.Size = new System.Drawing.Size(338, 373); this.panel28.TabIndex = 0; // // label12 @@ -520,9 +519,9 @@ this.label12.Dock = System.Windows.Forms.DockStyle.Fill; this.label12.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label12.Location = new System.Drawing.Point(0, 0); - this.label12.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label12.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(310, 326); + this.label12.Size = new System.Drawing.Size(338, 373); this.label12.TabIndex = 0; this.label12.Text = "打印信息:"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -533,9 +532,9 @@ this.panel24.Controls.Add(this.panel25); this.panel24.Dock = System.Windows.Forms.DockStyle.Top; this.panel24.Location = new System.Drawing.Point(0, 0); - this.panel24.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel24.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel24.Name = "panel24"; - this.panel24.Size = new System.Drawing.Size(2347, 975); + this.panel24.Size = new System.Drawing.Size(2560, 1114); this.panel24.TabIndex = 0; // // panel26 @@ -544,10 +543,10 @@ this.panel26.Controls.Add(this.panel44); this.panel26.Controls.Add(this.glacialList1); this.panel26.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel26.Location = new System.Drawing.Point(310, 0); - this.panel26.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel26.Location = new System.Drawing.Point(338, 0); + this.panel26.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel26.Name = "panel26"; - this.panel26.Size = new System.Drawing.Size(2037, 975); + this.panel26.Size = new System.Drawing.Size(2222, 1114); this.panel26.TabIndex = 1; // // panel45 @@ -557,19 +556,19 @@ this.panel45.Controls.Add(this.button4); this.panel45.Controls.Add(this.textBox4); this.panel45.Controls.Add(this.label25); - this.panel45.Location = new System.Drawing.Point(295, 592); - this.panel45.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel45.Location = new System.Drawing.Point(322, 677); + this.panel45.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel45.Name = "panel45"; - this.panel45.Size = new System.Drawing.Size(1280, 132); + this.panel45.Size = new System.Drawing.Size(1396, 151); this.panel45.TabIndex = 2; // // button3 // this.button3.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button3.Location = new System.Drawing.Point(1129, 37); - this.button3.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.button3.Location = new System.Drawing.Point(1232, 42); + this.button3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(147, 52); + this.button3.Size = new System.Drawing.Size(160, 59); this.button3.TabIndex = 5; this.button3.Text = "取消"; this.button3.UseVisualStyleBackColor = true; @@ -578,10 +577,10 @@ // button4 // this.button4.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button4.Location = new System.Drawing.Point(952, 38); - this.button4.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.button4.Location = new System.Drawing.Point(1039, 43); + this.button4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(147, 52); + this.button4.Size = new System.Drawing.Size(160, 59); this.button4.TabIndex = 4; this.button4.Text = "切换"; this.button4.UseVisualStyleBackColor = true; @@ -590,20 +589,20 @@ // textBox4 // this.textBox4.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox4.Location = new System.Drawing.Point(308, 40); - this.textBox4.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.textBox4.Location = new System.Drawing.Point(336, 46); + this.textBox4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.textBox4.Name = "textBox4"; - this.textBox4.Size = new System.Drawing.Size(605, 49); + this.textBox4.Size = new System.Drawing.Size(660, 55); this.textBox4.TabIndex = 3; // // label25 // this.label25.AutoSize = true; this.label25.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label25.Location = new System.Drawing.Point(26, 46); - this.label25.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label25.Location = new System.Drawing.Point(28, 53); + this.label25.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(283, 37); + this.label25.Size = new System.Drawing.Size(319, 42); this.label25.TabIndex = 2; this.label25.Text = "扫描模具条码:"; this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -615,19 +614,19 @@ this.panel44.Controls.Add(this.button1); this.panel44.Controls.Add(this.textBox3); this.panel44.Controls.Add(this.label24); - this.panel44.Location = new System.Drawing.Point(330, 318); - this.panel44.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel44.Location = new System.Drawing.Point(360, 363); + this.panel44.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel44.Name = "panel44"; - this.panel44.Size = new System.Drawing.Size(1280, 132); + this.panel44.Size = new System.Drawing.Size(1396, 151); this.panel44.TabIndex = 1; // // button2 // this.button2.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button2.Location = new System.Drawing.Point(1098, 38); - this.button2.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.button2.Location = new System.Drawing.Point(1198, 43); + this.button2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(147, 52); + this.button2.Size = new System.Drawing.Size(160, 59); this.button2.TabIndex = 3; this.button2.Text = "取消"; this.button2.UseVisualStyleBackColor = true; @@ -636,10 +635,10 @@ // button1 // this.button1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(941, 46); - this.button1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.button1.Location = new System.Drawing.Point(1027, 53); + this.button1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(147, 52); + this.button1.Size = new System.Drawing.Size(160, 59); this.button1.TabIndex = 2; this.button1.Text = "确定"; this.button1.UseVisualStyleBackColor = true; @@ -648,20 +647,20 @@ // textBox3 // this.textBox3.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox3.Location = new System.Drawing.Point(191, 38); - this.textBox3.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.textBox3.Location = new System.Drawing.Point(208, 43); + this.textBox3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.textBox3.Name = "textBox3"; - this.textBox3.Size = new System.Drawing.Size(677, 49); + this.textBox3.Size = new System.Drawing.Size(738, 55); this.textBox3.TabIndex = 1; // // label24 // this.label24.AutoSize = true; this.label24.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label24.Location = new System.Drawing.Point(24, 46); - this.label24.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label24.Location = new System.Drawing.Point(26, 53); + this.label24.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(169, 37); + this.label24.Size = new System.Drawing.Size(190, 42); this.label24.TabIndex = 0; this.label24.Text = "箱单号:"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -732,14 +731,14 @@ this.glacialList1.ItemHeight = 57; this.glacialList1.ItemWordWrap = false; this.glacialList1.Location = new System.Drawing.Point(0, 0); - this.glacialList1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.glacialList1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.glacialList1.Name = "glacialList1"; this.glacialList1.Selectable = true; this.glacialList1.SelectedTextColor = System.Drawing.Color.White; this.glacialList1.SelectionColor = System.Drawing.Color.DarkBlue; this.glacialList1.ShowBorder = true; this.glacialList1.ShowFocusRect = false; - this.glacialList1.Size = new System.Drawing.Size(2037, 975); + this.glacialList1.Size = new System.Drawing.Size(2222, 1114); this.glacialList1.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; this.glacialList1.SuperFlatHeaderColor = System.Drawing.Color.White; this.glacialList1.TabIndex = 0; @@ -752,9 +751,9 @@ this.panel25.Controls.Add(this.panel36); this.panel25.Dock = System.Windows.Forms.DockStyle.Left; this.panel25.Location = new System.Drawing.Point(0, 0); - this.panel25.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel25.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel25.Name = "panel25"; - this.panel25.Size = new System.Drawing.Size(310, 975); + this.panel25.Size = new System.Drawing.Size(338, 1114); this.panel25.TabIndex = 0; // // panel38 @@ -765,19 +764,19 @@ this.panel38.Controls.Add(this.label17); this.panel38.Controls.Add(this.label16); this.panel38.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel38.Location = new System.Drawing.Point(0, 406); - this.panel38.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel38.Location = new System.Drawing.Point(0, 464); + this.panel38.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel38.Name = "panel38"; - this.panel38.Size = new System.Drawing.Size(310, 569); + this.panel38.Size = new System.Drawing.Size(338, 650); this.panel38.TabIndex = 1; // // label27 // this.label27.Font = new System.Drawing.Font("宋体", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label27.Location = new System.Drawing.Point(2, 401); - this.label27.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label27.Location = new System.Drawing.Point(2, 458); + this.label27.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(306, 136); + this.label27.Size = new System.Drawing.Size(334, 155); this.label27.TabIndex = 3; this.label27.Text = "9999"; this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -785,20 +784,20 @@ // label26 // this.label26.AutoSize = true; - this.label26.Location = new System.Drawing.Point(22, 327); - this.label26.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label26.Location = new System.Drawing.Point(24, 374); + this.label26.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(230, 51); + this.label26.Size = new System.Drawing.Size(261, 58); this.label26.TabIndex = 2; this.label26.Text = "完成数量"; // // label17 // this.label17.Font = new System.Drawing.Font("宋体", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label17.Location = new System.Drawing.Point(2, 119); - this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label17.Location = new System.Drawing.Point(2, 136); + this.label17.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(306, 136); + this.label17.Size = new System.Drawing.Size(334, 155); this.label17.TabIndex = 1; this.label17.Text = "9999"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -806,10 +805,10 @@ // label16 // this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(22, 46); - this.label16.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label16.Location = new System.Drawing.Point(24, 53); + this.label16.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(230, 51); + this.label16.Size = new System.Drawing.Size(261, 58); this.label16.TabIndex = 0; this.label16.Text = "计划数量"; // @@ -818,9 +817,9 @@ this.panel36.Controls.Add(this.label11); this.panel36.Dock = System.Windows.Forms.DockStyle.Top; this.panel36.Location = new System.Drawing.Point(0, 0); - this.panel36.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel36.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel36.Name = "panel36"; - this.panel36.Size = new System.Drawing.Size(310, 406); + this.panel36.Size = new System.Drawing.Size(338, 464); this.panel36.TabIndex = 0; // // label11 @@ -829,9 +828,9 @@ this.label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label11.Dock = System.Windows.Forms.DockStyle.Fill; this.label11.Location = new System.Drawing.Point(0, 0); - this.label11.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label11.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(310, 406); + this.label11.Size = new System.Drawing.Size(338, 464); this.label11.TabIndex = 0; this.label11.Text = "打印记录:"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -842,9 +841,9 @@ this.panel8.Controls.Add(this.panel9); this.panel8.Dock = System.Windows.Forms.DockStyle.Top; this.panel8.Location = new System.Drawing.Point(0, 0); - this.panel8.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel8.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(2347, 91); + this.panel8.Size = new System.Drawing.Size(2560, 104); this.panel8.TabIndex = 0; // // panel10 @@ -852,10 +851,10 @@ this.panel10.Controls.Add(this.panel12); this.panel10.Controls.Add(this.panel11); this.panel10.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel10.Location = new System.Drawing.Point(310, 0); - this.panel10.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel10.Location = new System.Drawing.Point(338, 0); + this.panel10.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel10.Name = "panel10"; - this.panel10.Size = new System.Drawing.Size(2037, 91); + this.panel10.Size = new System.Drawing.Size(2222, 104); this.panel10.TabIndex = 1; // // panel12 @@ -863,10 +862,10 @@ this.panel12.Controls.Add(this.panel16); this.panel12.Controls.Add(this.panel15); this.panel12.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel12.Location = new System.Drawing.Point(451, 0); - this.panel12.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel12.Location = new System.Drawing.Point(492, 0); + this.panel12.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel12.Name = "panel12"; - this.panel12.Size = new System.Drawing.Size(1586, 91); + this.panel12.Size = new System.Drawing.Size(1730, 104); this.panel12.TabIndex = 1; // // panel16 @@ -874,10 +873,10 @@ this.panel16.Controls.Add(this.panel20); this.panel16.Controls.Add(this.panel19); this.panel16.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel16.Location = new System.Drawing.Point(468, 0); - this.panel16.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel16.Location = new System.Drawing.Point(511, 0); + this.panel16.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel16.Name = "panel16"; - this.panel16.Size = new System.Drawing.Size(1118, 91); + this.panel16.Size = new System.Drawing.Size(1219, 104); this.panel16.TabIndex = 1; // // panel20 @@ -885,10 +884,10 @@ this.panel20.Controls.Add(this.label10); this.panel20.Controls.Add(this.panel22); this.panel20.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel20.Location = new System.Drawing.Point(427, 0); - this.panel20.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel20.Location = new System.Drawing.Point(466, 0); + this.panel20.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel20.Name = "panel20"; - this.panel20.Size = new System.Drawing.Size(691, 91); + this.panel20.Size = new System.Drawing.Size(753, 104); this.panel20.TabIndex = 1; // // label10 @@ -896,10 +895,10 @@ this.label10.BackColor = System.Drawing.Color.DeepSkyBlue; this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Dock = System.Windows.Forms.DockStyle.Fill; - this.label10.Location = new System.Drawing.Point(341, 0); - this.label10.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label10.Location = new System.Drawing.Point(372, 0); + this.label10.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(350, 91); + this.label10.Size = new System.Drawing.Size(381, 104); this.label10.TabIndex = 1; this.label10.Text = "停机录入"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -910,9 +909,9 @@ this.panel22.Controls.Add(this.label9); this.panel22.Dock = System.Windows.Forms.DockStyle.Left; this.panel22.Location = new System.Drawing.Point(0, 0); - this.panel22.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel22.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel22.Name = "panel22"; - this.panel22.Size = new System.Drawing.Size(341, 91); + this.panel22.Size = new System.Drawing.Size(372, 104); this.panel22.TabIndex = 0; // // label9 @@ -922,9 +921,9 @@ this.label9.Dock = System.Windows.Forms.DockStyle.Fill; this.label9.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); this.label9.Location = new System.Drawing.Point(0, 0); - this.label9.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label9.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(341, 91); + this.label9.Size = new System.Drawing.Size(372, 104); this.label9.TabIndex = 0; this.label9.Text = "质量录入"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -936,9 +935,9 @@ this.panel19.Controls.Add(this.panel21); this.panel19.Dock = System.Windows.Forms.DockStyle.Left; this.panel19.Location = new System.Drawing.Point(0, 0); - this.panel19.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel19.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel19.Name = "panel19"; - this.panel19.Size = new System.Drawing.Size(427, 91); + this.panel19.Size = new System.Drawing.Size(466, 104); this.panel19.TabIndex = 0; // // label8 @@ -946,10 +945,10 @@ this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Dock = System.Windows.Forms.DockStyle.Fill; this.label8.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); - this.label8.Location = new System.Drawing.Point(202, 0); - this.label8.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label8.Location = new System.Drawing.Point(220, 0); + this.label8.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(225, 91); + this.label8.Size = new System.Drawing.Size(246, 104); this.label8.TabIndex = 1; this.label8.Text = "cy"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -959,9 +958,9 @@ this.panel21.Controls.Add(this.label7); this.panel21.Dock = System.Windows.Forms.DockStyle.Left; this.panel21.Location = new System.Drawing.Point(0, 0); - this.panel21.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel21.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel21.Name = "panel21"; - this.panel21.Size = new System.Drawing.Size(202, 91); + this.panel21.Size = new System.Drawing.Size(220, 104); this.panel21.TabIndex = 0; // // label7 @@ -971,9 +970,9 @@ this.label7.Dock = System.Windows.Forms.DockStyle.Fill; this.label7.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); this.label7.Location = new System.Drawing.Point(0, 0); - this.label7.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label7.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(202, 91); + this.label7.Size = new System.Drawing.Size(220, 104); this.label7.TabIndex = 0; this.label7.Text = "用户:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -984,19 +983,19 @@ this.panel15.Controls.Add(this.panel17); this.panel15.Dock = System.Windows.Forms.DockStyle.Left; this.panel15.Location = new System.Drawing.Point(0, 0); - this.panel15.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel15.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel15.Name = "panel15"; - this.panel15.Size = new System.Drawing.Size(468, 91); + this.panel15.Size = new System.Drawing.Size(511, 104); this.panel15.TabIndex = 0; // // panel18 // this.panel18.Controls.Add(this.label6); this.panel18.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel18.Location = new System.Drawing.Point(202, 0); - this.panel18.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel18.Location = new System.Drawing.Point(220, 0); + this.panel18.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel18.Name = "panel18"; - this.panel18.Size = new System.Drawing.Size(266, 91); + this.panel18.Size = new System.Drawing.Size(291, 104); this.panel18.TabIndex = 1; // // label6 @@ -1005,9 +1004,9 @@ this.label6.Dock = System.Windows.Forms.DockStyle.Fill; this.label6.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); this.label6.Location = new System.Drawing.Point(0, 0); - this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label6.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(266, 91); + this.label6.Size = new System.Drawing.Size(291, 104); this.label6.TabIndex = 0; this.label6.Text = "IM01"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1017,9 +1016,9 @@ this.panel17.Controls.Add(this.label5); this.panel17.Dock = System.Windows.Forms.DockStyle.Left; this.panel17.Location = new System.Drawing.Point(0, 0); - this.panel17.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel17.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel17.Name = "panel17"; - this.panel17.Size = new System.Drawing.Size(202, 91); + this.panel17.Size = new System.Drawing.Size(220, 104); this.panel17.TabIndex = 0; // // label5 @@ -1029,9 +1028,9 @@ this.label5.Dock = System.Windows.Forms.DockStyle.Fill; this.label5.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); this.label5.Location = new System.Drawing.Point(0, 0); - this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label5.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(202, 91); + this.label5.Size = new System.Drawing.Size(220, 104); this.label5.TabIndex = 0; this.label5.Text = "工位:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1042,19 +1041,19 @@ this.panel11.Controls.Add(this.panel13); this.panel11.Dock = System.Windows.Forms.DockStyle.Left; this.panel11.Location = new System.Drawing.Point(0, 0); - this.panel11.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel11.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel11.Name = "panel11"; - this.panel11.Size = new System.Drawing.Size(451, 91); + this.panel11.Size = new System.Drawing.Size(492, 104); this.panel11.TabIndex = 0; // // panel14 // this.panel14.Controls.Add(this.comboBox1); this.panel14.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel14.Location = new System.Drawing.Point(202, 0); - this.panel14.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel14.Location = new System.Drawing.Point(220, 0); + this.panel14.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel14.Name = "panel14"; - this.panel14.Size = new System.Drawing.Size(249, 91); + this.panel14.Size = new System.Drawing.Size(272, 104); this.panel14.TabIndex = 1; // // comboBox1 @@ -1067,9 +1066,9 @@ "A班", "B班"}); this.comboBox1.Location = new System.Drawing.Point(0, 0); - this.comboBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.comboBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.comboBox1.Name = "comboBox1"; - this.comboBox1.Size = new System.Drawing.Size(249, 83); + this.comboBox1.Size = new System.Drawing.Size(272, 93); this.comboBox1.TabIndex = 0; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // @@ -1078,9 +1077,9 @@ this.panel13.Controls.Add(this.label4); this.panel13.Dock = System.Windows.Forms.DockStyle.Left; this.panel13.Location = new System.Drawing.Point(0, 0); - this.panel13.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel13.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel13.Name = "panel13"; - this.panel13.Size = new System.Drawing.Size(202, 91); + this.panel13.Size = new System.Drawing.Size(220, 104); this.panel13.TabIndex = 0; // // label4 @@ -1090,9 +1089,9 @@ this.label4.Dock = System.Windows.Forms.DockStyle.Fill; this.label4.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); this.label4.Location = new System.Drawing.Point(0, 0); - this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label4.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(202, 91); + this.label4.Size = new System.Drawing.Size(220, 104); this.label4.TabIndex = 0; this.label4.Text = "班组:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1102,9 +1101,9 @@ this.panel9.Controls.Add(this.label3); this.panel9.Dock = System.Windows.Forms.DockStyle.Left; this.panel9.Location = new System.Drawing.Point(0, 0); - this.panel9.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel9.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel9.Name = "panel9"; - this.panel9.Size = new System.Drawing.Size(310, 91); + this.panel9.Size = new System.Drawing.Size(338, 104); this.panel9.TabIndex = 0; // // label3 @@ -1114,9 +1113,9 @@ this.label3.Dock = System.Windows.Forms.DockStyle.Fill; this.label3.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); this.label3.Location = new System.Drawing.Point(0, 0); - this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label3.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(310, 91); + this.label3.Size = new System.Drawing.Size(338, 104); this.label3.TabIndex = 0; this.label3.Text = "用户信息:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1127,9 +1126,9 @@ this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); - this.panel2.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(2347, 147); + this.panel2.Size = new System.Drawing.Size(2560, 168); this.panel2.TabIndex = 0; // // panel4 @@ -1137,10 +1136,10 @@ this.panel4.Controls.Add(this.panel6); this.panel4.Controls.Add(this.panel5); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(310, 0); - this.panel4.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel4.Location = new System.Drawing.Point(338, 0); + this.panel4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(2037, 147); + this.panel4.Size = new System.Drawing.Size(2222, 168); this.panel4.TabIndex = 1; // // panel6 @@ -1148,9 +1147,9 @@ this.panel6.Controls.Add(this.label1); this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; this.panel6.Location = new System.Drawing.Point(0, 0); - this.panel6.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel6.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(1685, 147); + this.panel6.Size = new System.Drawing.Size(1838, 168); this.panel6.TabIndex = 1; // // label1 @@ -1159,9 +1158,9 @@ this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Font = new System.Drawing.Font("宋体", 36F, System.Drawing.FontStyle.Bold); this.label1.Location = new System.Drawing.Point(0, 0); - this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label1.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(1685, 147); + this.label1.Size = new System.Drawing.Size(1838, 168); this.label1.TabIndex = 0; this.label1.Text = "注塑车间条码打印"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1170,10 +1169,10 @@ // this.panel5.Controls.Add(this.label2); this.panel5.Dock = System.Windows.Forms.DockStyle.Right; - this.panel5.Location = new System.Drawing.Point(1685, 0); - this.panel5.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel5.Location = new System.Drawing.Point(1838, 0); + this.panel5.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(352, 147); + this.panel5.Size = new System.Drawing.Size(384, 168); this.panel5.TabIndex = 0; // // label2 @@ -1182,9 +1181,9 @@ this.label2.Dock = System.Windows.Forms.DockStyle.Fill; this.label2.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold); this.label2.Location = new System.Drawing.Point(0, 0); - this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label2.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(352, 147); + this.label2.Size = new System.Drawing.Size(384, 168); this.label2.TabIndex = 0; this.label2.Text = "2019-05-29 10:30:31"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1195,19 +1194,19 @@ this.panel3.Controls.Add(this.pictureBox1); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 0); - this.panel3.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.panel3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(310, 147); + this.panel3.Size = new System.Drawing.Size(338, 168); this.panel3.TabIndex = 0; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(6, 5); - this.pictureBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.pictureBox1.Location = new System.Drawing.Point(7, 6); + this.pictureBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(308, 140); + this.pictureBox1.Size = new System.Drawing.Size(336, 160); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; @@ -1233,12 +1232,12 @@ // // FrmMain // - this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F); + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(2347, 1539); + this.ClientSize = new System.Drawing.Size(2560, 1759); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); + this.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); this.Name = "FrmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FrmMain"; diff --git a/InjectionPC/FrmMain2411.Designer.cs b/InjectionPC/FrmMain2411.Designer.cs index 3461fbd..4255b6f 100644 --- a/InjectionPC/FrmMain2411.Designer.cs +++ b/InjectionPC/FrmMain2411.Designer.cs @@ -28,7 +28,6 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); GlacialComponents.Controls.GLColumn glColumn1 = new GlacialComponents.Controls.GLColumn(); GlacialComponents.Controls.GLColumn glColumn2 = new GlacialComponents.Controls.GLColumn(); GlacialComponents.Controls.GLColumn glColumn3 = new GlacialComponents.Controls.GLColumn(); @@ -124,10 +123,10 @@ this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label35 = new System.Windows.Forms.Label(); this.label39 = new System.Windows.Forms.Label(); - this.timer1 = new System.Windows.Forms.Timer(this.components); - this.serialPort1 = new System.IO.Ports.SerialPort(this.components); - this.timer2 = new System.Windows.Forms.Timer(this.components); - this.timer3 = new System.Windows.Forms.Timer(this.components); + this.timer1 = new System.Windows.Forms.Timer(); + this.serialPort1 = new System.IO.Ports.SerialPort(); + this.timer2 = new System.Windows.Forms.Timer(); + this.timer3 = new System.Windows.Forms.Timer(); this.panel1.SuspendLayout(); this.panel7.SuspendLayout(); this.panel23.SuspendLayout(); @@ -184,9 +183,9 @@ this.panel1.Controls.Add(this.panel2); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel1.Margin = new System.Windows.Forms.Padding(5); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(2347, 1600); + this.panel1.Size = new System.Drawing.Size(2560, 1829); this.panel1.TabIndex = 0; // // panel7 @@ -195,10 +194,10 @@ this.panel7.Controls.Add(this.panel8); this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; this.panel7.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); - this.panel7.Location = new System.Drawing.Point(0, 147); - this.panel7.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel7.Location = new System.Drawing.Point(0, 168); + this.panel7.Margin = new System.Windows.Forms.Padding(5); this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(2347, 1453); + this.panel7.Size = new System.Drawing.Size(2560, 1661); this.panel7.TabIndex = 1; // // panel23 @@ -206,10 +205,10 @@ this.panel23.Controls.Add(this.panel27); this.panel23.Controls.Add(this.panel24); this.panel23.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel23.Location = new System.Drawing.Point(0, 91); - this.panel23.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel23.Location = new System.Drawing.Point(0, 104); + this.panel23.Margin = new System.Windows.Forms.Padding(5); this.panel23.Name = "panel23"; - this.panel23.Size = new System.Drawing.Size(2347, 1362); + this.panel23.Size = new System.Drawing.Size(2560, 1557); this.panel23.TabIndex = 1; // // panel27 @@ -217,10 +216,10 @@ this.panel27.Controls.Add(this.panel29); this.panel27.Controls.Add(this.panel28); this.panel27.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel27.Location = new System.Drawing.Point(0, 976); - this.panel27.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel27.Location = new System.Drawing.Point(0, 1115); + this.panel27.Margin = new System.Windows.Forms.Padding(5); this.panel27.Name = "panel27"; - this.panel27.Size = new System.Drawing.Size(2347, 386); + this.panel27.Size = new System.Drawing.Size(2560, 442); this.panel27.TabIndex = 1; // // panel29 @@ -228,10 +227,10 @@ this.panel29.Controls.Add(this.panel31); this.panel29.Controls.Add(this.panel30); this.panel29.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel29.Location = new System.Drawing.Point(311, 0); - this.panel29.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel29.Location = new System.Drawing.Point(339, 0); + this.panel29.Margin = new System.Windows.Forms.Padding(5); this.panel29.Name = "panel29"; - this.panel29.Size = new System.Drawing.Size(2036, 386); + this.panel29.Size = new System.Drawing.Size(2221, 442); this.panel29.TabIndex = 1; // // panel31 @@ -239,10 +238,10 @@ this.panel31.Controls.Add(this.panel33); this.panel31.Controls.Add(this.panel32); this.panel31.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel31.Location = new System.Drawing.Point(122, 0); - this.panel31.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel31.Location = new System.Drawing.Point(133, 0); + this.panel31.Margin = new System.Windows.Forms.Padding(5); this.panel31.Name = "panel31"; - this.panel31.Size = new System.Drawing.Size(1914, 386); + this.panel31.Size = new System.Drawing.Size(2088, 442); this.panel31.TabIndex = 1; // // panel33 @@ -250,10 +249,10 @@ this.panel33.Controls.Add(this.panel35); this.panel33.Controls.Add(this.panel34); this.panel33.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel33.Location = new System.Drawing.Point(122, 0); - this.panel33.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel33.Location = new System.Drawing.Point(133, 0); + this.panel33.Margin = new System.Windows.Forms.Padding(5); this.panel33.Name = "panel33"; - this.panel33.Size = new System.Drawing.Size(1792, 386); + this.panel33.Size = new System.Drawing.Size(1955, 442); this.panel33.TabIndex = 1; // // panel35 @@ -261,9 +260,9 @@ this.panel35.Controls.Add(this.panel37); this.panel35.Dock = System.Windows.Forms.DockStyle.Fill; this.panel35.Location = new System.Drawing.Point(0, 0); - this.panel35.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel35.Margin = new System.Windows.Forms.Padding(5); this.panel35.Name = "panel35"; - this.panel35.Size = new System.Drawing.Size(1670, 386); + this.panel35.Size = new System.Drawing.Size(1822, 442); this.panel35.TabIndex = 1; // // panel37 @@ -271,9 +270,9 @@ this.panel37.Controls.Add(this.panel40); this.panel37.Dock = System.Windows.Forms.DockStyle.Fill; this.panel37.Location = new System.Drawing.Point(0, 0); - this.panel37.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel37.Margin = new System.Windows.Forms.Padding(5); this.panel37.Name = "panel37"; - this.panel37.Size = new System.Drawing.Size(1670, 386); + this.panel37.Size = new System.Drawing.Size(1822, 442); this.panel37.TabIndex = 1; // // panel40 @@ -282,9 +281,9 @@ this.panel40.Controls.Add(this.panel41); this.panel40.Dock = System.Windows.Forms.DockStyle.Fill; this.panel40.Location = new System.Drawing.Point(0, 0); - this.panel40.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel40.Margin = new System.Windows.Forms.Padding(5); this.panel40.Name = "panel40"; - this.panel40.Size = new System.Drawing.Size(1670, 386); + this.panel40.Size = new System.Drawing.Size(1822, 442); this.panel40.TabIndex = 1; // // panel42 @@ -293,9 +292,9 @@ this.panel42.Controls.Add(this.panel43); this.panel42.Dock = System.Windows.Forms.DockStyle.Fill; this.panel42.Location = new System.Drawing.Point(0, 0); - this.panel42.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel42.Margin = new System.Windows.Forms.Padding(5); this.panel42.Name = "panel42"; - this.panel42.Size = new System.Drawing.Size(1548, 386); + this.panel42.Size = new System.Drawing.Size(1689, 442); this.panel42.TabIndex = 1; // // panel39 @@ -312,19 +311,19 @@ this.panel39.Controls.Add(this.label21); this.panel39.Dock = System.Windows.Forms.DockStyle.Fill; this.panel39.Location = new System.Drawing.Point(0, 0); - this.panel39.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel39.Margin = new System.Windows.Forms.Padding(5); this.panel39.Name = "panel39"; - this.panel39.Size = new System.Drawing.Size(1426, 386); + this.panel39.Size = new System.Drawing.Size(1556, 442); this.panel39.TabIndex = 1; // // lbDevState // this.lbDevState.BackColor = System.Drawing.Color.DeepSkyBlue; this.lbDevState.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.lbDevState.Location = new System.Drawing.Point(556, 291); + this.lbDevState.Location = new System.Drawing.Point(607, 333); this.lbDevState.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.lbDevState.Name = "lbDevState"; - this.lbDevState.Size = new System.Drawing.Size(347, 58); + this.lbDevState.Size = new System.Drawing.Size(378, 66); this.lbDevState.TabIndex = 16; this.lbDevState.Text = "设备已连接"; this.lbDevState.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -333,20 +332,20 @@ // textBox2 // this.textBox2.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox2.Location = new System.Drawing.Point(220, 291); - this.textBox2.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox2.Location = new System.Drawing.Point(240, 333); + this.textBox2.Margin = new System.Windows.Forms.Padding(5); this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(302, 65); + this.textBox2.Size = new System.Drawing.Size(329, 74); this.textBox2.TabIndex = 13; // // label18 // this.label18.AutoSize = true; this.label18.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label18.Location = new System.Drawing.Point(40, 304); + this.label18.Location = new System.Drawing.Point(44, 347); this.label18.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(178, 51); + this.label18.Size = new System.Drawing.Size(202, 58); this.label18.TabIndex = 12; this.label18.Text = "数量:"; // @@ -354,10 +353,10 @@ // this.label19.AutoSize = true; this.label19.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label19.Location = new System.Drawing.Point(606, 178); + this.label19.Location = new System.Drawing.Point(661, 203); this.label19.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(238, 51); + this.label19.Size = new System.Drawing.Size(265, 58); this.label19.TabIndex = 11; this.label19.Text = "(yyMMdd)"; // @@ -365,20 +364,20 @@ // this.textBox1.Enabled = false; this.textBox1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox1.Location = new System.Drawing.Point(223, 172); - this.textBox1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox1.Location = new System.Drawing.Point(243, 197); + this.textBox1.Margin = new System.Windows.Forms.Padding(5); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(301, 65); + this.textBox1.Size = new System.Drawing.Size(328, 74); this.textBox1.TabIndex = 10; // // label20 // this.label20.AutoSize = true; this.label20.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label20.Location = new System.Drawing.Point(41, 186); + this.label20.Location = new System.Drawing.Point(45, 213); this.label20.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(178, 51); + this.label20.Size = new System.Drawing.Size(202, 58); this.label20.TabIndex = 9; this.label20.Text = "批次:"; // @@ -387,10 +386,10 @@ this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox2.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.comboBox2.FormattingEnabled = true; - this.comboBox2.Location = new System.Drawing.Point(223, 63); - this.comboBox2.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.comboBox2.Location = new System.Drawing.Point(243, 72); + this.comboBox2.Margin = new System.Windows.Forms.Padding(5); this.comboBox2.Name = "comboBox2"; - this.comboBox2.Size = new System.Drawing.Size(851, 50); + this.comboBox2.Size = new System.Drawing.Size(928, 56); this.comboBox2.TabIndex = 8; this.comboBox2.TextChanged += new System.EventHandler(this.comboBox2_TextChanged); // @@ -398,10 +397,10 @@ // this.label21.AutoSize = true; this.label21.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label21.Location = new System.Drawing.Point(41, 70); + this.label21.Location = new System.Drawing.Point(45, 80); this.label21.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(178, 51); + this.label21.Size = new System.Drawing.Size(202, 58); this.label21.TabIndex = 7; this.label21.Text = "产品:"; // @@ -409,10 +408,10 @@ // this.panel43.Controls.Add(this.label23); this.panel43.Dock = System.Windows.Forms.DockStyle.Right; - this.panel43.Location = new System.Drawing.Point(1426, 0); - this.panel43.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel43.Location = new System.Drawing.Point(1556, 0); + this.panel43.Margin = new System.Windows.Forms.Padding(5); this.panel43.Name = "panel43"; - this.panel43.Size = new System.Drawing.Size(122, 386); + this.panel43.Size = new System.Drawing.Size(133, 442); this.panel43.TabIndex = 0; // // label23 @@ -423,7 +422,7 @@ this.label23.Location = new System.Drawing.Point(0, 0); this.label23.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(122, 386); + this.label23.Size = new System.Drawing.Size(133, 442); this.label23.TabIndex = 0; this.label23.Text = "手工打印条码"; this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -433,10 +432,10 @@ // this.panel41.Controls.Add(this.label22); this.panel41.Dock = System.Windows.Forms.DockStyle.Right; - this.panel41.Location = new System.Drawing.Point(1548, 0); - this.panel41.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel41.Location = new System.Drawing.Point(1689, 0); + this.panel41.Margin = new System.Windows.Forms.Padding(5); this.panel41.Name = "panel41"; - this.panel41.Size = new System.Drawing.Size(122, 386); + this.panel41.Size = new System.Drawing.Size(133, 442); this.panel41.TabIndex = 0; // // label22 @@ -447,7 +446,7 @@ this.label22.Location = new System.Drawing.Point(0, 0); this.label22.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(122, 386); + this.label22.Size = new System.Drawing.Size(133, 442); this.label22.TabIndex = 0; this.label22.Text = "补打条码"; this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -457,10 +456,10 @@ // this.panel34.Controls.Add(this.label15); this.panel34.Dock = System.Windows.Forms.DockStyle.Right; - this.panel34.Location = new System.Drawing.Point(1670, 0); - this.panel34.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel34.Location = new System.Drawing.Point(1822, 0); + this.panel34.Margin = new System.Windows.Forms.Padding(5); this.panel34.Name = "panel34"; - this.panel34.Size = new System.Drawing.Size(122, 386); + this.panel34.Size = new System.Drawing.Size(133, 442); this.panel34.TabIndex = 0; // // label15 @@ -471,7 +470,7 @@ this.label15.Location = new System.Drawing.Point(0, 0); this.label15.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(122, 386); + this.label15.Size = new System.Drawing.Size(133, 442); this.label15.TabIndex = 0; this.label15.Text = "删除条码"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -482,9 +481,9 @@ this.panel32.Controls.Add(this.label14); this.panel32.Dock = System.Windows.Forms.DockStyle.Left; this.panel32.Location = new System.Drawing.Point(0, 0); - this.panel32.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel32.Margin = new System.Windows.Forms.Padding(5); this.panel32.Name = "panel32"; - this.panel32.Size = new System.Drawing.Size(122, 386); + this.panel32.Size = new System.Drawing.Size(133, 442); this.panel32.TabIndex = 0; // // label14 @@ -495,7 +494,7 @@ this.label14.Location = new System.Drawing.Point(0, 0); this.label14.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(122, 386); + this.label14.Size = new System.Drawing.Size(133, 442); this.label14.TabIndex = 0; this.label14.Text = "下一计划"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -506,9 +505,9 @@ this.panel30.Controls.Add(this.label13); this.panel30.Dock = System.Windows.Forms.DockStyle.Left; this.panel30.Location = new System.Drawing.Point(0, 0); - this.panel30.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel30.Margin = new System.Windows.Forms.Padding(5); this.panel30.Name = "panel30"; - this.panel30.Size = new System.Drawing.Size(122, 386); + this.panel30.Size = new System.Drawing.Size(133, 442); this.panel30.TabIndex = 0; // // label13 @@ -519,7 +518,7 @@ this.label13.Location = new System.Drawing.Point(0, 0); this.label13.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(122, 386); + this.label13.Size = new System.Drawing.Size(133, 442); this.label13.TabIndex = 0; this.label13.Text = "暂停打印"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -530,9 +529,9 @@ this.panel28.Controls.Add(this.label12); this.panel28.Dock = System.Windows.Forms.DockStyle.Left; this.panel28.Location = new System.Drawing.Point(0, 0); - this.panel28.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel28.Margin = new System.Windows.Forms.Padding(5); this.panel28.Name = "panel28"; - this.panel28.Size = new System.Drawing.Size(311, 386); + this.panel28.Size = new System.Drawing.Size(339, 442); this.panel28.TabIndex = 0; // // label12 @@ -544,7 +543,7 @@ this.label12.Location = new System.Drawing.Point(0, 0); this.label12.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(311, 386); + this.label12.Size = new System.Drawing.Size(339, 442); this.label12.TabIndex = 0; this.label12.Text = "打印信息:"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -555,9 +554,9 @@ this.panel24.Controls.Add(this.panel25); this.panel24.Dock = System.Windows.Forms.DockStyle.Top; this.panel24.Location = new System.Drawing.Point(0, 0); - this.panel24.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel24.Margin = new System.Windows.Forms.Padding(5); this.panel24.Name = "panel24"; - this.panel24.Size = new System.Drawing.Size(2347, 976); + this.panel24.Size = new System.Drawing.Size(2560, 1115); this.panel24.TabIndex = 0; // // panel26 @@ -566,10 +565,10 @@ this.panel26.Controls.Add(this.panel44); this.panel26.Controls.Add(this.glacialList1); this.panel26.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel26.Location = new System.Drawing.Point(380, 0); - this.panel26.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel26.Location = new System.Drawing.Point(415, 0); + this.panel26.Margin = new System.Windows.Forms.Padding(5); this.panel26.Name = "panel26"; - this.panel26.Size = new System.Drawing.Size(1967, 976); + this.panel26.Size = new System.Drawing.Size(2145, 1115); this.panel26.TabIndex = 1; // // panel45 @@ -579,19 +578,19 @@ this.panel45.Controls.Add(this.button4); this.panel45.Controls.Add(this.textBox4); this.panel45.Controls.Add(this.label25); - this.panel45.Location = new System.Drawing.Point(296, 592); - this.panel45.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel45.Location = new System.Drawing.Point(323, 677); + this.panel45.Margin = new System.Windows.Forms.Padding(5); this.panel45.Name = "panel45"; - this.panel45.Size = new System.Drawing.Size(1281, 132); + this.panel45.Size = new System.Drawing.Size(1397, 151); this.panel45.TabIndex = 2; // // button3 // this.button3.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button3.Location = new System.Drawing.Point(1129, 38); - this.button3.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.button3.Location = new System.Drawing.Point(1232, 43); + this.button3.Margin = new System.Windows.Forms.Padding(5); this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(147, 52); + this.button3.Size = new System.Drawing.Size(160, 59); this.button3.TabIndex = 5; this.button3.Text = "取消"; this.button3.UseVisualStyleBackColor = true; @@ -600,10 +599,10 @@ // button4 // this.button4.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button4.Location = new System.Drawing.Point(951, 38); - this.button4.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.button4.Location = new System.Drawing.Point(1037, 43); + this.button4.Margin = new System.Windows.Forms.Padding(5); this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(147, 52); + this.button4.Size = new System.Drawing.Size(160, 59); this.button4.TabIndex = 4; this.button4.Text = "切换"; this.button4.UseVisualStyleBackColor = true; @@ -612,20 +611,20 @@ // textBox4 // this.textBox4.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox4.Location = new System.Drawing.Point(308, 39); - this.textBox4.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox4.Location = new System.Drawing.Point(336, 45); + this.textBox4.Margin = new System.Windows.Forms.Padding(5); this.textBox4.Name = "textBox4"; - this.textBox4.Size = new System.Drawing.Size(605, 49); + this.textBox4.Size = new System.Drawing.Size(660, 55); this.textBox4.TabIndex = 3; // // label25 // this.label25.AutoSize = true; this.label25.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label25.Location = new System.Drawing.Point(26, 46); + this.label25.Location = new System.Drawing.Point(28, 53); this.label25.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(283, 37); + this.label25.Size = new System.Drawing.Size(319, 42); this.label25.TabIndex = 2; this.label25.Text = "扫描模具条码:"; this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -637,19 +636,19 @@ this.panel44.Controls.Add(this.button1); this.panel44.Controls.Add(this.textBox3); this.panel44.Controls.Add(this.label24); - this.panel44.Location = new System.Drawing.Point(330, 318); - this.panel44.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel44.Location = new System.Drawing.Point(360, 363); + this.panel44.Margin = new System.Windows.Forms.Padding(5); this.panel44.Name = "panel44"; - this.panel44.Size = new System.Drawing.Size(1281, 132); + this.panel44.Size = new System.Drawing.Size(1397, 151); this.panel44.TabIndex = 1; // // button2 // this.button2.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button2.Location = new System.Drawing.Point(1097, 38); - this.button2.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.button2.Location = new System.Drawing.Point(1197, 43); + this.button2.Margin = new System.Windows.Forms.Padding(5); this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(147, 52); + this.button2.Size = new System.Drawing.Size(160, 59); this.button2.TabIndex = 3; this.button2.Text = "取消"; this.button2.UseVisualStyleBackColor = true; @@ -658,10 +657,10 @@ // button1 // this.button1.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(941, 35); - this.button1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.button1.Location = new System.Drawing.Point(1027, 40); + this.button1.Margin = new System.Windows.Forms.Padding(5); this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(147, 52); + this.button1.Size = new System.Drawing.Size(160, 59); this.button1.TabIndex = 2; this.button1.Text = "确定"; this.button1.UseVisualStyleBackColor = true; @@ -670,20 +669,20 @@ // textBox3 // this.textBox3.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox3.Location = new System.Drawing.Point(191, 38); - this.textBox3.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox3.Location = new System.Drawing.Point(208, 43); + this.textBox3.Margin = new System.Windows.Forms.Padding(5); this.textBox3.Name = "textBox3"; - this.textBox3.Size = new System.Drawing.Size(676, 49); + this.textBox3.Size = new System.Drawing.Size(737, 55); this.textBox3.TabIndex = 1; // // label24 // this.label24.AutoSize = true; this.label24.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label24.Location = new System.Drawing.Point(25, 46); + this.label24.Location = new System.Drawing.Point(27, 53); this.label24.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(169, 37); + this.label24.Size = new System.Drawing.Size(190, 42); this.label24.TabIndex = 0; this.label24.Text = "箱单号:"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -754,14 +753,14 @@ this.glacialList1.ItemHeight = 57; this.glacialList1.ItemWordWrap = false; this.glacialList1.Location = new System.Drawing.Point(0, 0); - this.glacialList1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.glacialList1.Margin = new System.Windows.Forms.Padding(5); this.glacialList1.Name = "glacialList1"; this.glacialList1.Selectable = true; this.glacialList1.SelectedTextColor = System.Drawing.Color.White; this.glacialList1.SelectionColor = System.Drawing.Color.DarkBlue; this.glacialList1.ShowBorder = true; this.glacialList1.ShowFocusRect = false; - this.glacialList1.Size = new System.Drawing.Size(1967, 976); + this.glacialList1.Size = new System.Drawing.Size(2145, 1115); this.glacialList1.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; this.glacialList1.SuperFlatHeaderColor = System.Drawing.Color.White; this.glacialList1.TabIndex = 0; @@ -774,9 +773,9 @@ this.panel25.Controls.Add(this.panel36); this.panel25.Dock = System.Windows.Forms.DockStyle.Left; this.panel25.Location = new System.Drawing.Point(0, 0); - this.panel25.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel25.Margin = new System.Windows.Forms.Padding(5); this.panel25.Name = "panel25"; - this.panel25.Size = new System.Drawing.Size(380, 976); + this.panel25.Size = new System.Drawing.Size(415, 1115); this.panel25.TabIndex = 0; // // tableLayoutPanel2 @@ -785,13 +784,13 @@ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.panel38, 0, 0); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 406); - this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 464); + this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 570F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 570F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(380, 570); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 651F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 651F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(415, 651); this.tableLayoutPanel2.TabIndex = 1; // // panel38 @@ -801,19 +800,19 @@ this.panel38.Controls.Add(this.label26); this.panel38.Controls.Add(this.label17); this.panel38.Controls.Add(this.label16); - this.panel38.Location = new System.Drawing.Point(5, 4); - this.panel38.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel38.Location = new System.Drawing.Point(5, 5); + this.panel38.Margin = new System.Windows.Forms.Padding(5); this.panel38.Name = "panel38"; - this.panel38.Size = new System.Drawing.Size(370, 561); + this.panel38.Size = new System.Drawing.Size(404, 641); this.panel38.TabIndex = 1; // // label27 // this.label27.Font = new System.Drawing.Font("宋体", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label27.Location = new System.Drawing.Point(-3, 171); + this.label27.Location = new System.Drawing.Point(-3, 195); this.label27.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(291, 73); + this.label27.Size = new System.Drawing.Size(317, 83); this.label27.TabIndex = 3; this.label27.Text = "9999"; this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -822,20 +821,20 @@ // this.label26.AutoSize = true; this.label26.Font = new System.Drawing.Font("宋体", 13.875F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label26.Location = new System.Drawing.Point(0, 136); + this.label26.Location = new System.Drawing.Point(0, 155); this.label26.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(151, 33); + this.label26.Size = new System.Drawing.Size(169, 37); this.label26.TabIndex = 2; this.label26.Text = "完成数量"; // // label17 // this.label17.Font = new System.Drawing.Font("宋体", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label17.Location = new System.Drawing.Point(-3, 49); + this.label17.Location = new System.Drawing.Point(-3, 56); this.label17.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(291, 74); + this.label17.Size = new System.Drawing.Size(317, 85); this.label17.TabIndex = 1; this.label17.Text = "9999"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -844,10 +843,10 @@ // this.label16.AutoSize = true; this.label16.Font = new System.Drawing.Font("宋体", 13.875F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label16.Location = new System.Drawing.Point(0, 10); + this.label16.Location = new System.Drawing.Point(0, 11); this.label16.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(151, 33); + this.label16.Size = new System.Drawing.Size(169, 37); this.label16.TabIndex = 0; this.label16.Text = "计划数量"; // @@ -856,9 +855,9 @@ this.panel36.Controls.Add(this.tableLayoutPanel1); this.panel36.Dock = System.Windows.Forms.DockStyle.Top; this.panel36.Location = new System.Drawing.Point(0, 0); - this.panel36.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel36.Margin = new System.Windows.Forms.Padding(5); this.panel36.Name = "panel36"; - this.panel36.Size = new System.Drawing.Size(380, 406); + this.panel36.Size = new System.Drawing.Size(415, 464); this.panel36.TabIndex = 0; // // tableLayoutPanel1 @@ -868,12 +867,12 @@ this.tableLayoutPanel1.Controls.Add(this.label11, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 406F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(380, 406); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 464F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(415, 464); this.tableLayoutPanel1.TabIndex = 1; // // label11 @@ -884,7 +883,7 @@ this.label11.Location = new System.Drawing.Point(5, 0); this.label11.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(370, 406); + this.label11.Size = new System.Drawing.Size(403, 464); this.label11.TabIndex = 0; this.label11.Text = "打印记录:"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -895,9 +894,9 @@ this.panel8.Controls.Add(this.panel9); this.panel8.Dock = System.Windows.Forms.DockStyle.Top; this.panel8.Location = new System.Drawing.Point(0, 0); - this.panel8.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel8.Margin = new System.Windows.Forms.Padding(5); this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(2347, 91); + this.panel8.Size = new System.Drawing.Size(2560, 104); this.panel8.TabIndex = 0; // // panel10 @@ -905,10 +904,10 @@ this.panel10.Controls.Add(this.panel12); this.panel10.Controls.Add(this.panel11); this.panel10.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel10.Location = new System.Drawing.Point(380, 0); - this.panel10.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel10.Location = new System.Drawing.Point(415, 0); + this.panel10.Margin = new System.Windows.Forms.Padding(5); this.panel10.Name = "panel10"; - this.panel10.Size = new System.Drawing.Size(1967, 91); + this.panel10.Size = new System.Drawing.Size(2145, 104); this.panel10.TabIndex = 2; // // panel12 @@ -916,10 +915,10 @@ this.panel12.Controls.Add(this.panel16); this.panel12.Controls.Add(this.panel15); this.panel12.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel12.Location = new System.Drawing.Point(451, 0); - this.panel12.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel12.Location = new System.Drawing.Point(492, 0); + this.panel12.Margin = new System.Windows.Forms.Padding(5); this.panel12.Name = "panel12"; - this.panel12.Size = new System.Drawing.Size(1516, 91); + this.panel12.Size = new System.Drawing.Size(1653, 104); this.panel12.TabIndex = 1; // // panel16 @@ -927,10 +926,10 @@ this.panel16.Controls.Add(this.panel20); this.panel16.Controls.Add(this.panel19); this.panel16.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel16.Location = new System.Drawing.Point(467, 0); - this.panel16.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel16.Location = new System.Drawing.Point(509, 0); + this.panel16.Margin = new System.Windows.Forms.Padding(5); this.panel16.Name = "panel16"; - this.panel16.Size = new System.Drawing.Size(1049, 91); + this.panel16.Size = new System.Drawing.Size(1144, 104); this.panel16.TabIndex = 1; // // panel20 @@ -938,10 +937,10 @@ this.panel20.Controls.Add(this.label10); this.panel20.Controls.Add(this.panel22); this.panel20.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel20.Location = new System.Drawing.Point(428, 0); - this.panel20.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel20.Location = new System.Drawing.Point(467, 0); + this.panel20.Margin = new System.Windows.Forms.Padding(5); this.panel20.Name = "panel20"; - this.panel20.Size = new System.Drawing.Size(621, 91); + this.panel20.Size = new System.Drawing.Size(677, 104); this.panel20.TabIndex = 1; // // label10 @@ -949,10 +948,10 @@ this.label10.BackColor = System.Drawing.Color.DeepSkyBlue; this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label10.Dock = System.Windows.Forms.DockStyle.Fill; - this.label10.Location = new System.Drawing.Point(341, 0); + this.label10.Location = new System.Drawing.Point(372, 0); this.label10.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(280, 91); + this.label10.Size = new System.Drawing.Size(305, 104); this.label10.TabIndex = 1; this.label10.Text = "停机录入"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -963,9 +962,9 @@ this.panel22.Controls.Add(this.label9); this.panel22.Dock = System.Windows.Forms.DockStyle.Left; this.panel22.Location = new System.Drawing.Point(0, 0); - this.panel22.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel22.Margin = new System.Windows.Forms.Padding(5); this.panel22.Name = "panel22"; - this.panel22.Size = new System.Drawing.Size(341, 91); + this.panel22.Size = new System.Drawing.Size(372, 104); this.panel22.TabIndex = 0; // // label9 @@ -977,7 +976,7 @@ this.label9.Location = new System.Drawing.Point(0, 0); this.label9.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(341, 91); + this.label9.Size = new System.Drawing.Size(372, 104); this.label9.TabIndex = 0; this.label9.Text = "质量录入"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -989,9 +988,9 @@ this.panel19.Controls.Add(this.panel21); this.panel19.Dock = System.Windows.Forms.DockStyle.Left; this.panel19.Location = new System.Drawing.Point(0, 0); - this.panel19.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel19.Margin = new System.Windows.Forms.Padding(5); this.panel19.Name = "panel19"; - this.panel19.Size = new System.Drawing.Size(428, 91); + this.panel19.Size = new System.Drawing.Size(467, 104); this.panel19.TabIndex = 0; // // label8 @@ -999,10 +998,10 @@ this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label8.Dock = System.Windows.Forms.DockStyle.Fill; this.label8.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); - this.label8.Location = new System.Drawing.Point(202, 0); + this.label8.Location = new System.Drawing.Point(220, 0); this.label8.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(226, 91); + this.label8.Size = new System.Drawing.Size(247, 104); this.label8.TabIndex = 1; this.label8.Text = "cy"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1012,9 +1011,9 @@ this.panel21.Controls.Add(this.label7); this.panel21.Dock = System.Windows.Forms.DockStyle.Left; this.panel21.Location = new System.Drawing.Point(0, 0); - this.panel21.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel21.Margin = new System.Windows.Forms.Padding(5); this.panel21.Name = "panel21"; - this.panel21.Size = new System.Drawing.Size(202, 91); + this.panel21.Size = new System.Drawing.Size(220, 104); this.panel21.TabIndex = 0; // // label7 @@ -1026,7 +1025,7 @@ this.label7.Location = new System.Drawing.Point(0, 0); this.label7.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(202, 91); + this.label7.Size = new System.Drawing.Size(220, 104); this.label7.TabIndex = 0; this.label7.Text = "用户:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1038,19 +1037,19 @@ this.panel15.Controls.Add(this.panel17); this.panel15.Dock = System.Windows.Forms.DockStyle.Left; this.panel15.Location = new System.Drawing.Point(0, 0); - this.panel15.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel15.Margin = new System.Windows.Forms.Padding(5); this.panel15.Name = "panel15"; - this.panel15.Size = new System.Drawing.Size(467, 91); + this.panel15.Size = new System.Drawing.Size(509, 104); this.panel15.TabIndex = 0; // // panel18 // this.panel18.Controls.Add(this.label6); this.panel18.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel18.Location = new System.Drawing.Point(202, 0); - this.panel18.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel18.Location = new System.Drawing.Point(220, 0); + this.panel18.Margin = new System.Windows.Forms.Padding(5); this.panel18.Name = "panel18"; - this.panel18.Size = new System.Drawing.Size(265, 91); + this.panel18.Size = new System.Drawing.Size(289, 104); this.panel18.TabIndex = 1; // // label6 @@ -1061,7 +1060,7 @@ this.label6.Location = new System.Drawing.Point(0, 0); this.label6.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(265, 91); + this.label6.Size = new System.Drawing.Size(289, 104); this.label6.TabIndex = 0; this.label6.Text = "IM01"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1071,9 +1070,9 @@ this.panel17.Controls.Add(this.label5); this.panel17.Dock = System.Windows.Forms.DockStyle.Left; this.panel17.Location = new System.Drawing.Point(0, 0); - this.panel17.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel17.Margin = new System.Windows.Forms.Padding(5); this.panel17.Name = "panel17"; - this.panel17.Size = new System.Drawing.Size(202, 91); + this.panel17.Size = new System.Drawing.Size(220, 104); this.panel17.TabIndex = 0; // // label5 @@ -1085,7 +1084,7 @@ this.label5.Location = new System.Drawing.Point(0, 0); this.label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(202, 91); + this.label5.Size = new System.Drawing.Size(220, 104); this.label5.TabIndex = 0; this.label5.Text = "工位:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1097,19 +1096,19 @@ this.panel11.Controls.Add(this.panel13); this.panel11.Dock = System.Windows.Forms.DockStyle.Left; this.panel11.Location = new System.Drawing.Point(0, 0); - this.panel11.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel11.Margin = new System.Windows.Forms.Padding(5); this.panel11.Name = "panel11"; - this.panel11.Size = new System.Drawing.Size(451, 91); + this.panel11.Size = new System.Drawing.Size(492, 104); this.panel11.TabIndex = 0; // // panel14 // this.panel14.Controls.Add(this.comboBox1); this.panel14.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel14.Location = new System.Drawing.Point(202, 0); - this.panel14.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel14.Location = new System.Drawing.Point(220, 0); + this.panel14.Margin = new System.Windows.Forms.Padding(5); this.panel14.Name = "panel14"; - this.panel14.Size = new System.Drawing.Size(249, 91); + this.panel14.Size = new System.Drawing.Size(272, 104); this.panel14.TabIndex = 1; // // comboBox1 @@ -1122,9 +1121,9 @@ "A班", "B班"}); this.comboBox1.Location = new System.Drawing.Point(0, 0); - this.comboBox1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.comboBox1.Margin = new System.Windows.Forms.Padding(5); this.comboBox1.Name = "comboBox1"; - this.comboBox1.Size = new System.Drawing.Size(249, 83); + this.comboBox1.Size = new System.Drawing.Size(272, 93); this.comboBox1.TabIndex = 0; // // panel13 @@ -1132,9 +1131,9 @@ this.panel13.Controls.Add(this.label4); this.panel13.Dock = System.Windows.Forms.DockStyle.Left; this.panel13.Location = new System.Drawing.Point(0, 0); - this.panel13.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel13.Margin = new System.Windows.Forms.Padding(5); this.panel13.Name = "panel13"; - this.panel13.Size = new System.Drawing.Size(202, 91); + this.panel13.Size = new System.Drawing.Size(220, 104); this.panel13.TabIndex = 0; // // label4 @@ -1146,7 +1145,7 @@ this.label4.Location = new System.Drawing.Point(0, 0); this.label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(202, 91); + this.label4.Size = new System.Drawing.Size(220, 104); this.label4.TabIndex = 0; this.label4.Text = "班组:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1156,9 +1155,9 @@ this.panel9.Controls.Add(this.label3); this.panel9.Dock = System.Windows.Forms.DockStyle.Left; this.panel9.Location = new System.Drawing.Point(0, 0); - this.panel9.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel9.Margin = new System.Windows.Forms.Padding(5); this.panel9.Name = "panel9"; - this.panel9.Size = new System.Drawing.Size(380, 91); + this.panel9.Size = new System.Drawing.Size(415, 104); this.panel9.TabIndex = 0; // // label3 @@ -1170,7 +1169,7 @@ this.label3.Location = new System.Drawing.Point(0, 0); this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(380, 91); + this.label3.Size = new System.Drawing.Size(415, 104); this.label3.TabIndex = 0; this.label3.Text = "用户信息:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1181,9 +1180,9 @@ this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); - this.panel2.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel2.Margin = new System.Windows.Forms.Padding(5); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(2347, 147); + this.panel2.Size = new System.Drawing.Size(2560, 168); this.panel2.TabIndex = 0; // // panel4 @@ -1191,10 +1190,10 @@ this.panel4.Controls.Add(this.panel6); this.panel4.Controls.Add(this.panel5); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(311, 0); - this.panel4.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel4.Location = new System.Drawing.Point(339, 0); + this.panel4.Margin = new System.Windows.Forms.Padding(5); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(2036, 147); + this.panel4.Size = new System.Drawing.Size(2221, 168); this.panel4.TabIndex = 1; // // panel6 @@ -1203,9 +1202,9 @@ this.panel6.Controls.Add(this.label1); this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; this.panel6.Location = new System.Drawing.Point(0, 0); - this.panel6.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel6.Margin = new System.Windows.Forms.Padding(5); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(1684, 147); + this.panel6.Size = new System.Drawing.Size(1837, 168); this.panel6.TabIndex = 1; // // btnBarCodeWithBox @@ -1214,7 +1213,7 @@ this.btnBarCodeWithBox.Font = new System.Drawing.Font("宋体", 14.14286F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnBarCodeWithBox.Location = new System.Drawing.Point(0, 1); this.btnBarCodeWithBox.Name = "btnBarCodeWithBox"; - this.btnBarCodeWithBox.Size = new System.Drawing.Size(217, 143); + this.btnBarCodeWithBox.Size = new System.Drawing.Size(237, 163); this.btnBarCodeWithBox.TabIndex = 2; this.btnBarCodeWithBox.Text = "箱码模式"; this.btnBarCodeWithBox.UseVisualStyleBackColor = false; @@ -1228,7 +1227,7 @@ this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(1684, 147); + this.label1.Size = new System.Drawing.Size(1837, 168); this.label1.TabIndex = 0; this.label1.Text = "注塑车间条码打印"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1237,10 +1236,10 @@ // this.panel5.Controls.Add(this.label2); this.panel5.Dock = System.Windows.Forms.DockStyle.Right; - this.panel5.Location = new System.Drawing.Point(1684, 0); - this.panel5.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel5.Location = new System.Drawing.Point(1837, 0); + this.panel5.Margin = new System.Windows.Forms.Padding(5); this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(352, 147); + this.panel5.Size = new System.Drawing.Size(384, 168); this.panel5.TabIndex = 0; // // label2 @@ -1251,7 +1250,7 @@ this.label2.Location = new System.Drawing.Point(0, 0); this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(352, 147); + this.label2.Size = new System.Drawing.Size(384, 168); this.label2.TabIndex = 0; this.label2.Text = "2019-05-29 10:30:31"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1262,19 +1261,19 @@ this.panel3.Controls.Add(this.pictureBox1); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 0); - this.panel3.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.panel3.Margin = new System.Windows.Forms.Padding(5); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(311, 147); + this.panel3.Size = new System.Drawing.Size(339, 168); this.panel3.TabIndex = 0; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(5, 4); - this.pictureBox1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.pictureBox1.Location = new System.Drawing.Point(5, 5); + this.pictureBox1.Margin = new System.Windows.Forms.Padding(5); this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(307, 139); + this.pictureBox1.Size = new System.Drawing.Size(335, 159); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; @@ -1315,12 +1314,12 @@ // // FrmMain2411 // - this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F); + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(2347, 1600); + this.ClientSize = new System.Drawing.Size(2560, 1829); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.Margin = new System.Windows.Forms.Padding(5); this.Name = "FrmMain2411"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FrmMain"; diff --git a/InjectionSearch/Form1.cs b/InjectionSearch/Form1.cs index 5f45c7f..00a108c 100644 --- a/InjectionSearch/Form1.cs +++ b/InjectionSearch/Form1.cs @@ -67,9 +67,17 @@ namespace InjectionSearch DataTable dt = bll.SearchInfoByNameAndPsw(textBox1.Text.Trim(), stationID, textBox2.Text.Trim()); if (dt != null && dt.Rows.Count > 0) { - Form fr = new FrmBarCodeSearch2408(); - fr.Show(); - this.Hide(); + if (ConfigurationManager.AppSettings["PageType"]?.ToString() == "RePrintBarCode") + { + Form fr = new FrmBarCodeSearch2502(); + fr.Show(); + } + else + { + Form fr = new FrmBarCodeSearch2408(); + fr.Show(); + } + this.Hide(); } else { diff --git a/InjectionSearch/FrmBarCodeSearch2502.Designer.cs b/InjectionSearch/FrmBarCodeSearch2502.Designer.cs new file mode 100644 index 0000000..53f2868 --- /dev/null +++ b/InjectionSearch/FrmBarCodeSearch2502.Designer.cs @@ -0,0 +1,215 @@ +namespace InjectionSearch +{ + partial class FrmBarCodeSearch2502 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + GlacialComponents.Controls.GLColumn glColumn5 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn6 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn7 = new GlacialComponents.Controls.GLColumn(); + GlacialComponents.Controls.GLColumn glColumn8 = new GlacialComponents.Controls.GLColumn(); + this.panel3 = new System.Windows.Forms.Panel(); + this.button1 = new System.Windows.Forms.Button(); + this.label6 = new System.Windows.Forms.Label(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.glacialList1 = new GlacialComponents.Controls.GlacialList(); + this.timer1 = new System.Windows.Forms.Timer(this.components); + this.btnRePrint = new System.Windows.Forms.Button(); + this.panel3.SuspendLayout(); + this.SuspendLayout(); + // + // panel3 + // + this.panel3.BackColor = System.Drawing.SystemColors.Control; + this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel3.Controls.Add(this.btnRePrint); + this.panel3.Controls.Add(this.button1); + this.panel3.Controls.Add(this.label6); + this.panel3.Controls.Add(this.textBox5); + this.panel3.Location = new System.Drawing.Point(4, 5); + this.panel3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(2498, 120); + this.panel3.TabIndex = 22; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); + this.button1.Location = new System.Drawing.Point(2148, 21); + this.button1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(190, 86); + this.button1.TabIndex = 6; + this.button1.Text = "查询"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); + this.label6.Location = new System.Drawing.Point(955, 24); + this.label6.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(261, 58); + this.label6.TabIndex = 4; + this.label6.Text = "条码号:"; + // + // textBox5 + // + this.textBox5.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); + this.textBox5.Location = new System.Drawing.Point(1252, 18); + this.textBox5.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(827, 74); + this.textBox5.TabIndex = 5; + // + // glacialList1 + // + this.glacialList1.AllowColumnResize = true; + this.glacialList1.AllowMultiselect = false; + this.glacialList1.AlternateBackground = System.Drawing.Color.DarkGreen; + this.glacialList1.AlternatingColors = false; + this.glacialList1.AutoHeight = true; + this.glacialList1.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.glacialList1.BackgroundStretchToFit = true; + glColumn5.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn5.CheckBoxes = false; + glColumn5.ImageIndex = -1; + glColumn5.Name = "Column1"; + glColumn5.NumericSort = false; + glColumn5.Text = "条码"; + glColumn5.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn5.Width = 300; + glColumn6.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn6.CheckBoxes = false; + glColumn6.ImageIndex = -1; + glColumn6.Name = "Column2"; + glColumn6.NumericSort = false; + glColumn6.Text = "产品名称"; + glColumn6.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn6.Width = 450; + glColumn7.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn7.CheckBoxes = false; + glColumn7.ImageIndex = -1; + glColumn7.Name = "Column3"; + glColumn7.NumericSort = false; + glColumn7.Text = "打印方式"; + glColumn7.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn7.Width = 80; + glColumn8.ActivatedEmbeddedType = GlacialComponents.Controls.GLActivatedEmbeddedTypes.None; + glColumn8.CheckBoxes = false; + glColumn8.ImageIndex = -1; + glColumn8.Name = "Column4"; + glColumn8.NumericSort = false; + glColumn8.Text = "打印时间"; + glColumn8.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + glColumn8.Width = 220; + this.glacialList1.Columns.AddRange(new GlacialComponents.Controls.GLColumn[] { + glColumn5, + glColumn6, + glColumn7, + glColumn8}); + this.glacialList1.ControlStyle = GlacialComponents.Controls.GLControlStyles.Normal; + this.glacialList1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.glacialList1.FullRowSelect = true; + this.glacialList1.GridColor = System.Drawing.Color.DeepSkyBlue; + this.glacialList1.GridLines = GlacialComponents.Controls.GLGridLines.gridBoth; + this.glacialList1.GridLineStyle = GlacialComponents.Controls.GLGridLineStyles.gridSolid; + this.glacialList1.GridTypes = GlacialComponents.Controls.GLGridTypes.gridNormal; + this.glacialList1.HeaderHeight = 40; + this.glacialList1.HeaderVisible = true; + this.glacialList1.HeaderWordWrap = false; + this.glacialList1.HotColumnTracking = false; + this.glacialList1.HotItemTracking = false; + this.glacialList1.HotTrackingColor = System.Drawing.Color.LightGray; + this.glacialList1.HoverEvents = false; + this.glacialList1.HoverTime = 1; + this.glacialList1.ImageList = null; + this.glacialList1.ItemHeight = 39; + this.glacialList1.ItemWordWrap = false; + this.glacialList1.Location = new System.Drawing.Point(4, 130); + this.glacialList1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.glacialList1.Name = "glacialList1"; + this.glacialList1.Selectable = true; + this.glacialList1.SelectedTextColor = System.Drawing.Color.White; + this.glacialList1.SelectionColor = System.Drawing.Color.Lime; + this.glacialList1.ShowBorder = true; + this.glacialList1.ShowFocusRect = false; + this.glacialList1.Size = new System.Drawing.Size(2514, 1493); + this.glacialList1.SortType = GlacialComponents.Controls.SortTypes.InsertionSort; + this.glacialList1.SuperFlatHeaderColor = System.Drawing.Color.White; + this.glacialList1.TabIndex = 23; + this.glacialList1.Text = "glacialList1"; + // + // timer1 + // + this.timer1.Enabled = true; + this.timer1.Interval = 5000; + this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + // + // btnRePrint + // + this.btnRePrint.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold); + this.btnRePrint.Location = new System.Drawing.Point(11, 6); + this.btnRePrint.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.btnRePrint.Name = "btnRePrint"; + this.btnRePrint.Size = new System.Drawing.Size(310, 101); + this.btnRePrint.TabIndex = 8; + this.btnRePrint.Text = "补打条码"; + this.btnRePrint.UseVisualStyleBackColor = true; + this.btnRePrint.Click += new System.EventHandler(this.btnRePrint_Click); + // + // FrmBarCodeSearch2502 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(2528, 1638); + this.Controls.Add(this.glacialList1); + this.Controls.Add(this.panel3); + this.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.Name = "FrmBarCodeSearch2502"; + this.Text = "条码信息"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmBarCodeSearch_FormClosing); + this.Load += new System.EventHandler(this.FrmBarCodeSearch_Load); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox textBox5; + private GlacialComponents.Controls.GlacialList glacialList1; + private System.Windows.Forms.Timer timer1; + private System.Windows.Forms.Button btnRePrint; + } +} \ No newline at end of file diff --git a/InjectionSearch/FrmBarCodeSearch2502.cs b/InjectionSearch/FrmBarCodeSearch2502.cs new file mode 100644 index 0000000..a5e2b14 --- /dev/null +++ b/InjectionSearch/FrmBarCodeSearch2502.cs @@ -0,0 +1,246 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Configuration; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using grproLib; +using MESClassLibrary; +using MESClassLibrary.BLL; +using MESClassLibrary.BLL.BasicInfo; +using MESClassLibrary.BLL.Injection; +using MESClassLibrary.BLL.Inspection; +using MESClassLibrary.BLL.Log; +using MESClassLibrary.BLL.TruckBox; +using MESClassLibrary.DAL; +using MESClassLibrary.EFModel; +using MESClassLibrary.Model; +using DataTable = System.Data.DataTable; + +namespace InjectionSearch +{ + public partial class FrmBarCodeSearch2502 : Form + { + private BarCodeBLL _barCodeBLL = new BarCodeBLL(); + public FrmBarCodeSearch2502() + { + InitializeComponent(); + this.Size = new Size(1280, 1024); + } + + + private void initBarCode() + { + BarCodeBLL bll = new BarCodeBLL(); + + glacialList1.Items.Clear(); + DataTable dt = bll.SearchBarCode(); + if (dt != null && dt.Rows.Count > 0) + { + for (int i = 0; i < dt.Rows.Count; i++) + { + glacialList1.Items.Add(i.ToString()); + glacialList1.Items[i].SubItems[0].Text = dt.Rows[i]["BarCode"].ToString(); + glacialList1.Items[i].SubItems[1].Text = dt.Rows[i]["ProductName"].ToString(); + glacialList1.Items[i].SubItems[2].Text = dt.Rows[i]["PrintType"].ToString(); + glacialList1.Items[i].SubItems[3].Text = dt.Rows[i]["CreateTime"].ToString() == "" ? "" : Convert.ToDateTime(dt.Rows[i]["CreateTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss.fff"); + //glacialList1.Items[i].SubItems[4].Text = dt.Rows[i]["StationNo"].ToString(); + //glacialList1.Items[i].SubItems[5].Text = dt.Rows[i]["isSupply"].ToString(); + //glacialList1.Items[i].SubItems[5].Text = dt.Rows[i]["BatchNo"].ToString(); + glacialList1.Items[i].SubItems[0].Tag = dt.Rows[i]; + glacialList1.Items[i].SubItems[1].Tag = dt.Rows[i]["TableName"].ToString(); + } + } + } + + + private void FrmBarCodeSearch_Load(object sender, EventArgs e) + { + + initBarCode(); + + GetClass(); + } + + private void GetClass() + { + try + { + DateTime aa = GetDateTime(); + + if (GetDateTime().Hour >= 8 && GetDateTime().Hour < 20) + { + Program.Shift = "A班"; + Program.ProductDate = aa.ToString("yyyy-MM-dd"); + + } + else + { + Program.Shift = "B班"; + if (GetDateTime().Hour >= 0 && GetDateTime().Hour < 8) + { + Program.ProductDate = aa.AddDays(-1).ToString("yyyy-MM-dd"); + } + else + { + Program.ProductDate = aa.ToString("yyyy-MM-dd"); + } + } + } + catch (Exception ex) + { + LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); + } + } + + + + public DateTime GetDateTime() + { + string sql = ""; + DateTime time; + DataTable dt; + try + { + sql = @"select getdate() as time"; + + dt = SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; + if (dt != null && dt.Rows.Count > 0) + { + time = Convert.ToDateTime(dt.Rows[0]["time"].ToString()); + + } + else + { + time = DateTime.Now; + } + return time; + } + catch (Exception ex) + { + LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); + return DateTime.Now; + } + } + + private static bool IsNumeric(string str) + { + System.Text.RegularExpressions.Regex reg1 = new System.Text.RegularExpressions.Regex(@"^[0-9]\d*$"); + return reg1.IsMatch(str); + } + + + + private void button1_Click(object sender, EventArgs e) + { + BarCodeBLL bll = new BarCodeBLL(); + DataTable dt = null; + + try + { + glacialList1.Items.Clear(); + if (textBox5.Text.Trim() == "") + { + dt = bll.SearchBarCode(); + } + else + { + if (textBox5.Text.Trim().Length == 20) + { + dt = bll.SearchBarCodeByOne(textBox5.Text.Trim()); + } + else + { + dt = bll.SearchBarCodeByTwo(textBox5.Text.Trim()); + } + } + + + if (dt != null && dt.Rows.Count > 0) + { + for (int i = 0; i < dt.Rows.Count; i++) + { + glacialList1.Items.Add(i.ToString()); + glacialList1.Items[i].SubItems[0].Text = dt.Rows[i]["BarCode"].ToString(); + glacialList1.Items[i].SubItems[1].Text = dt.Rows[i]["ProductName"].ToString(); + glacialList1.Items[i].SubItems[2].Text = dt.Rows[i]["PrintType"].ToString(); + glacialList1.Items[i].SubItems[3].Text = dt.Rows[i]["PrintTime"].ToString() == "" ? "" : Convert.ToDateTime(dt.Rows[i]["PrintTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss.fff"); + glacialList1.Items[i].SubItems[4].Text = dt.Rows[i]["MaterialName"].ToString(); + glacialList1.Items[i].SubItems[5].Text = dt.Rows[i]["BatchNo"].ToString(); + //glacialList1.Items[i].SubItems[6].Text = dt.Rows[i]["StationNo"].ToString(); + + glacialList1.Items[i].SubItems[0].Tag = dt.Rows[i]; + glacialList1.Items[i].SubItems[1].Tag = dt.Rows[i]["TableName"].ToString(); + } + } + textBox5.Text = ""; + } + catch (Exception ex) + { + LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); + } + } + + private void FrmBarCodeSearch_FormClosing(object sender, FormClosingEventArgs e) + { + Application.Exit(); + } + + private void timer1_Tick(object sender, EventArgs e) + { + Program.ProductDate = _barCodeBLL.GetServiceTime().ToString(); + } + + private void btnRePrint_Click(object sender, EventArgs e) + { + if (glacialList1.SelectedItems.Count > 0) + { + GlacialComponents.Controls.GLItem gv; + gv = glacialList1.SelectedItems[0] as GlacialComponents.Controls.GLItem; + + DataRow recordRow = gv.SubItems[0].Tag as DataRow; + string printName = PrintMoudleName(recordRow); + + DataTable headTable = new DataTable(); + headTable.Columns.Add("PrintTime"); + headTable.Columns.Add("PartNo"); + headTable.Columns.Add("PartName"); + headTable.Columns.Add("OneBarCode"); + headTable.Columns.Add("BarCode"); + headTable.Columns.Add("Station"); + DataRow row = headTable.NewRow(); + row["PrintTime"] = GetDateTime().ToString("yyyy/MM/dd HH:mm:ss"); + row["PartNo"] = recordRow["PartNo"].ToString(); + row["PartName"] = recordRow["ProductName"].ToString(); + row["OneBarCode"] = recordRow["OneBarCode"].ToString(); + row["BarCode"] = recordRow["BarCode"].ToString(); + row["Station"] = recordRow["StationNo"].ToString(); + string reportName = ConfigurationManager.AppSettings["Printer1"].ToString(); + headTable.Rows.Add(row); + + ReportHelper rp = new ReportHelper(printName, headTable, null, (int)GRPaperOrientation.grpoDefault, 1, reportName); + + rp.Report.Print(false); + + AddRePrintRecords(row); + } + } + + private void AddRePrintRecords(DataRow row) + { + _barCodeBLL.Add_ReprintRecord(row, Program.OperatorName, Program.OperatorName); + } + + string PrintMoudleName(DataRow row) + { + string stationName = row["StationNo"].ToString(); + string isSupply = row["isSupply"].ToString(); + return BussinessHelper.PrintMoudleName(stationName, isSupply); + } + } +} diff --git a/InjectionSearch/FrmBarCodeSearch2502.resx b/InjectionSearch/FrmBarCodeSearch2502.resx new file mode 100644 index 0000000..1f666f2 --- /dev/null +++ b/InjectionSearch/FrmBarCodeSearch2502.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/InjectionSearch/InjectionSearch.csproj b/InjectionSearch/InjectionSearch.csproj index a3bcba2..a53b33e 100644 --- a/InjectionSearch/InjectionSearch.csproj +++ b/InjectionSearch/InjectionSearch.csproj @@ -80,6 +80,12 @@ FrmBarCodeReplace.cs + + Form + + + FrmBarCodeSearch2502.cs + Form @@ -107,6 +113,9 @@ FrmBarCodeReplace.cs + + FrmBarCodeSearch2502.cs + FrmBarCodeSearch2408.cs diff --git a/MESClassLibrary/BLL/BasicInfo/BarCodeBLL.cs b/MESClassLibrary/BLL/BasicInfo/BarCodeBLL.cs index bb88b38..343768c 100644 --- a/MESClassLibrary/BLL/BasicInfo/BarCodeBLL.cs +++ b/MESClassLibrary/BLL/BasicInfo/BarCodeBLL.cs @@ -100,6 +100,20 @@ namespace MESClassLibrary.BLL.BasicInfo return false; } } + + public int Add_ReprintRecord(DataRow md,string userID,string userName ) + { + try + { + return db.Add_ReprintRecord(md, userID, userName); + } + catch (Exception ex) + { + LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); + return 0; + } + } + public bool Add_Info_New(LocalDBService local,BarCodeModel md, string tableName, string isNew = "1") { return db.AddInfoNew(local, md, tableName, isNew); diff --git a/MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs b/MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs index 5ca6130..a9f15e1 100644 --- a/MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs +++ b/MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs @@ -381,7 +381,15 @@ namespace MESClassLibrary.DAL.BasicInfo return local.Exec_NonQuery(sql); } + public int Add_ReprintRecord(DataRow dr,string userID,string userName) + { + string sql = ""; + sql = $"INSERT INTO tb_Injection_ReprintBarCodeRecords (BarCode,OneBarCode,PartNo,PartName,Station,UserID,UserName)" + + $" VALUES ('{dr["BarCode"]}','{dr["OneBarCode"]}','{dr["PartNo"]}','{dr["PartName"]}','{dr["Station"]}','{userID}','{userName}')"; + + return SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, null); + } public DataTable SearchInfo(string stationNo) { try @@ -490,7 +498,7 @@ namespace MESClassLibrary.DAL.BasicInfo { try { - string sql = @"SELECT top 200 dbo.v_Code.BarCode,dbo.v_Code.TableName,dbo.v_Code.BoxNo, dbo.tb_Product.ProductName, + string sql = @"SELECT top 200 dbo.v_Code.BarCode,dbo.v_Code.TableName,dbo.v_Code.BoxNo, dbo.tb_Product.ProductName,dbo.tb_Station.StationNo, tb_Product.isSupply,tb_Product.PartNo, CASE dbo.v_Code.PrintType WHEN 0 THEN '自动打印' WHEN 1 THEN '手动打印' WHEN 2 THEN '补打' END AS PrintType, dbo.v_Code.CreateTime, dbo.v_Code.CreateTime as PrintTime, dbo.v_Code.OneBarCode, dbo.v_Code.PlanID, dbo.tb_InjectPlanReport.MaterialName, dbo.tb_InjectPlanReport.BatchNo @@ -515,7 +523,7 @@ namespace MESClassLibrary.DAL.BasicInfo { try { - string sql = @"SELECT dbo.v_Code.BarCode, dbo.tb_Product.ProductName,dbo.v_Code.IsBad, dbo.v_Code.BoxNo,dbo.v_Code.PartNo, dbo.v_Code.StationID, dbo.v_Code.ID, + string sql = @"SELECT dbo.v_Code.BarCode, dbo.tb_Product.ProductName,dbo.v_Code.IsBad, dbo.v_Code.BoxNo,dbo.v_Code.PartNo, dbo.v_Code.StationID,tb_Product.isSupply, dbo.tb_Station.StationNo,tb_Product.PartNo, dbo.v_Code.ID, CASE dbo.v_Code.PrintType WHEN 0 THEN '自动打印' WHEN 1 THEN '手动打印' WHEN 2 THEN '补打' END AS PrintType, dbo.v_Code.CreateTime as PrintTime, dbo.v_Code.OneBarCode,dbo.v_Code.PlanID, dbo.v_Code.TableName, dbo.tb_InjectPlanReport.MaterialName, dbo.tb_InjectPlanReport.BatchNo @@ -552,7 +560,7 @@ namespace MESClassLibrary.DAL.BasicInfo // dbo.tb_Station ON dbo.tb_BarCode.StationID = dbo.tb_Station.StationID // WHERE dbo.tb_BarCode.IsDel = 0 and dbo.tb_BarCode.BarCode=@BarCode // ORDER BY dbo.tb_BarCode.CreateTime DESC"; - string sql = @"SELECT dbo.v_Code.BarCode, dbo.tb_Product.ProductName, dbo.v_Code.BoxNo, dbo.v_Code.TableName, + string sql = @"SELECT dbo.v_Code.BarCode, dbo.tb_Product.ProductName, dbo.v_Code.BoxNo, dbo.v_Code.TableName, dbo.tb_Station.StationNo,tb_Product.isSupply,tb_Product.PartNo, CASE dbo.v_Code.PrintType WHEN 0 THEN '自动打印' WHEN 1 THEN '手动打印' WHEN 2 THEN '补打' END AS PrintType, dbo.v_Code.CreateTime as PrintTime, dbo.v_Code.OneBarCode,dbo.v_Code.PlanID, dbo.tb_InjectPlanReport.MaterialName, dbo.tb_InjectPlanReport.BatchNo diff --git a/MESClassLibrary/DAL/User/UserDAL.cs b/MESClassLibrary/DAL/User/UserDAL.cs index b777a5b..5e5c1ee 100644 --- a/MESClassLibrary/DAL/User/UserDAL.cs +++ b/MESClassLibrary/DAL/User/UserDAL.cs @@ -143,18 +143,7 @@ namespace MESClassLibrary.DAL.User { try { - string sql = @"SELECT [UserID] - ,[UserName] - ,[Password] - ,[IsEnabled] - ,[RealName] - ,[Sex] - ,[Tel] - ,[LastLoginTime] - ,[LastLoginIP] - ,[DepartmentID] - ,[OpName] - ,[OpTime] + string sql = @"SELECT * FROM [T_Sys_Users] where UserName = @Username and IsEnabled = '1'"; diff --git a/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx.cs b/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx.cs index c9cf1ba..2192469 100644 --- a/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx.cs +++ b/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx.cs @@ -72,8 +72,8 @@ namespace MESWebSite.HttpHandlers pagesize = "15"; } StationBLL bll = new StationBLL(); - Response.Write(bll.SearchInfo(page, pagesize, StationNo, LineID)); - Response.End(); + //Response.Write(bll.SearchInfo(page, pagesize, StationNo, LineID)); + //Response.End(); }