Commit b853cab8 by Neo Turing

优化

parent 3f794bd1
...@@ -90,8 +90,9 @@ ...@@ -90,8 +90,9 @@
this.plLeft.Controls.Add(this.gbLogin); this.plLeft.Controls.Add(this.gbLogin);
this.plLeft.Dock = System.Windows.Forms.DockStyle.Left; this.plLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.plLeft.Location = new System.Drawing.Point(0, 0); this.plLeft.Location = new System.Drawing.Point(0, 0);
this.plLeft.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.plLeft.Name = "plLeft"; this.plLeft.Name = "plLeft";
this.plLeft.Size = new System.Drawing.Size(265, 659); this.plLeft.Size = new System.Drawing.Size(398, 1098);
this.plLeft.TabIndex = 0; this.plLeft.TabIndex = 0;
// //
// gbInfo // gbInfo
...@@ -106,9 +107,11 @@ ...@@ -106,9 +107,11 @@
this.gbInfo.Controls.Add(this.tbCurrentLocation); this.gbInfo.Controls.Add(this.tbCurrentLocation);
this.gbInfo.Controls.Add(this.tbCurrentDepartment); this.gbInfo.Controls.Add(this.tbCurrentDepartment);
this.gbInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.gbInfo.Dock = System.Windows.Forms.DockStyle.Fill;
this.gbInfo.Location = new System.Drawing.Point(0, 346); this.gbInfo.Location = new System.Drawing.Point(0, 577);
this.gbInfo.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbInfo.Name = "gbInfo"; this.gbInfo.Name = "gbInfo";
this.gbInfo.Size = new System.Drawing.Size(265, 313); this.gbInfo.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbInfo.Size = new System.Drawing.Size(398, 521);
this.gbInfo.TabIndex = 1; this.gbInfo.TabIndex = 1;
this.gbInfo.TabStop = false; this.gbInfo.TabStop = false;
this.gbInfo.Text = "信息"; this.gbInfo.Text = "信息";
...@@ -118,9 +121,10 @@ ...@@ -118,9 +121,10 @@
this.btnInstallDriver.BackColor = System.Drawing.SystemColors.Control; this.btnInstallDriver.BackColor = System.Drawing.SystemColors.Control;
this.btnInstallDriver.Dock = System.Windows.Forms.DockStyle.Bottom; this.btnInstallDriver.Dock = System.Windows.Forms.DockStyle.Bottom;
this.btnInstallDriver.ForeColor = System.Drawing.SystemColors.ControlText; this.btnInstallDriver.ForeColor = System.Drawing.SystemColors.ControlText;
this.btnInstallDriver.Location = new System.Drawing.Point(3, 272); this.btnInstallDriver.Location = new System.Drawing.Point(4, 453);
this.btnInstallDriver.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.btnInstallDriver.Name = "btnInstallDriver"; this.btnInstallDriver.Name = "btnInstallDriver";
this.btnInstallDriver.Size = new System.Drawing.Size(259, 38); this.btnInstallDriver.Size = new System.Drawing.Size(390, 63);
this.btnInstallDriver.TabIndex = 83; this.btnInstallDriver.TabIndex = 83;
this.btnInstallDriver.Text = "驱动安装"; this.btnInstallDriver.Text = "驱动安装";
this.btnInstallDriver.UseVisualStyleBackColor = false; this.btnInstallDriver.UseVisualStyleBackColor = false;
...@@ -131,9 +135,10 @@ ...@@ -131,9 +135,10 @@
// //
this.lbCurrentPackageNode.AutoSize = true; this.lbCurrentPackageNode.AutoSize = true;
this.lbCurrentPackageNode.Font = new System.Drawing.Font("宋体", 12F); this.lbCurrentPackageNode.Font = new System.Drawing.Font("宋体", 12F);
this.lbCurrentPackageNode.Location = new System.Drawing.Point(16, 180); this.lbCurrentPackageNode.Location = new System.Drawing.Point(24, 300);
this.lbCurrentPackageNode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbCurrentPackageNode.Name = "lbCurrentPackageNode"; this.lbCurrentPackageNode.Name = "lbCurrentPackageNode";
this.lbCurrentPackageNode.Size = new System.Drawing.Size(80, 16); this.lbCurrentPackageNode.Size = new System.Drawing.Size(118, 24);
this.lbCurrentPackageNode.TabIndex = 7; this.lbCurrentPackageNode.TabIndex = 7;
this.lbCurrentPackageNode.Text = "当前袋子:"; this.lbCurrentPackageNode.Text = "当前袋子:";
// //
...@@ -141,9 +146,10 @@ ...@@ -141,9 +146,10 @@
// //
this.lbCurrentPackage.AutoSize = true; this.lbCurrentPackage.AutoSize = true;
this.lbCurrentPackage.Font = new System.Drawing.Font("宋体", 12F); this.lbCurrentPackage.Font = new System.Drawing.Font("宋体", 12F);
this.lbCurrentPackage.Location = new System.Drawing.Point(16, 127); this.lbCurrentPackage.Location = new System.Drawing.Point(24, 212);
this.lbCurrentPackage.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbCurrentPackage.Name = "lbCurrentPackage"; this.lbCurrentPackage.Name = "lbCurrentPackage";
this.lbCurrentPackage.Size = new System.Drawing.Size(80, 16); this.lbCurrentPackage.Size = new System.Drawing.Size(118, 24);
this.lbCurrentPackage.TabIndex = 6; this.lbCurrentPackage.TabIndex = 6;
this.lbCurrentPackage.Text = "当前箱号:"; this.lbCurrentPackage.Text = "当前箱号:";
// //
...@@ -151,9 +157,10 @@ ...@@ -151,9 +157,10 @@
// //
this.lbCurrentLocation.AutoSize = true; this.lbCurrentLocation.AutoSize = true;
this.lbCurrentLocation.Font = new System.Drawing.Font("宋体", 12F); this.lbCurrentLocation.Font = new System.Drawing.Font("宋体", 12F);
this.lbCurrentLocation.Location = new System.Drawing.Point(16, 74); this.lbCurrentLocation.Location = new System.Drawing.Point(24, 123);
this.lbCurrentLocation.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbCurrentLocation.Name = "lbCurrentLocation"; this.lbCurrentLocation.Name = "lbCurrentLocation";
this.lbCurrentLocation.Size = new System.Drawing.Size(80, 16); this.lbCurrentLocation.Size = new System.Drawing.Size(118, 24);
this.lbCurrentLocation.TabIndex = 5; this.lbCurrentLocation.TabIndex = 5;
this.lbCurrentLocation.Text = "当前位置:"; this.lbCurrentLocation.Text = "当前位置:";
// //
...@@ -161,9 +168,10 @@ ...@@ -161,9 +168,10 @@
// //
this.lbCurrentDepartment.AutoSize = true; this.lbCurrentDepartment.AutoSize = true;
this.lbCurrentDepartment.Font = new System.Drawing.Font("宋体", 12F); this.lbCurrentDepartment.Font = new System.Drawing.Font("宋体", 12F);
this.lbCurrentDepartment.Location = new System.Drawing.Point(16, 21); this.lbCurrentDepartment.Location = new System.Drawing.Point(24, 35);
this.lbCurrentDepartment.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbCurrentDepartment.Name = "lbCurrentDepartment"; this.lbCurrentDepartment.Name = "lbCurrentDepartment";
this.lbCurrentDepartment.Size = new System.Drawing.Size(80, 16); this.lbCurrentDepartment.Size = new System.Drawing.Size(118, 24);
this.lbCurrentDepartment.TabIndex = 4; this.lbCurrentDepartment.TabIndex = 4;
this.lbCurrentDepartment.Text = "当前部门:"; this.lbCurrentDepartment.Text = "当前部门:";
// //
...@@ -171,40 +179,44 @@ ...@@ -171,40 +179,44 @@
// //
this.tbCurrentPackageNode.Enabled = false; this.tbCurrentPackageNode.Enabled = false;
this.tbCurrentPackageNode.Font = new System.Drawing.Font("宋体", 18F); this.tbCurrentPackageNode.Font = new System.Drawing.Font("宋体", 18F);
this.tbCurrentPackageNode.Location = new System.Drawing.Point(16, 195); this.tbCurrentPackageNode.Location = new System.Drawing.Point(24, 325);
this.tbCurrentPackageNode.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbCurrentPackageNode.Name = "tbCurrentPackageNode"; this.tbCurrentPackageNode.Name = "tbCurrentPackageNode";
this.tbCurrentPackageNode.ReadOnly = true; this.tbCurrentPackageNode.ReadOnly = true;
this.tbCurrentPackageNode.Size = new System.Drawing.Size(226, 35); this.tbCurrentPackageNode.Size = new System.Drawing.Size(337, 49);
this.tbCurrentPackageNode.TabIndex = 3; this.tbCurrentPackageNode.TabIndex = 3;
// //
// tbCurrentPackage // tbCurrentPackage
// //
this.tbCurrentPackage.Enabled = false; this.tbCurrentPackage.Enabled = false;
this.tbCurrentPackage.Font = new System.Drawing.Font("宋体", 18F); this.tbCurrentPackage.Font = new System.Drawing.Font("宋体", 18F);
this.tbCurrentPackage.Location = new System.Drawing.Point(16, 142); this.tbCurrentPackage.Location = new System.Drawing.Point(24, 237);
this.tbCurrentPackage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbCurrentPackage.Name = "tbCurrentPackage"; this.tbCurrentPackage.Name = "tbCurrentPackage";
this.tbCurrentPackage.ReadOnly = true; this.tbCurrentPackage.ReadOnly = true;
this.tbCurrentPackage.Size = new System.Drawing.Size(226, 35); this.tbCurrentPackage.Size = new System.Drawing.Size(337, 49);
this.tbCurrentPackage.TabIndex = 2; this.tbCurrentPackage.TabIndex = 2;
// //
// tbCurrentLocation // tbCurrentLocation
// //
this.tbCurrentLocation.Enabled = false; this.tbCurrentLocation.Enabled = false;
this.tbCurrentLocation.Font = new System.Drawing.Font("宋体", 18F); this.tbCurrentLocation.Font = new System.Drawing.Font("宋体", 18F);
this.tbCurrentLocation.Location = new System.Drawing.Point(16, 89); this.tbCurrentLocation.Location = new System.Drawing.Point(24, 148);
this.tbCurrentLocation.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbCurrentLocation.Name = "tbCurrentLocation"; this.tbCurrentLocation.Name = "tbCurrentLocation";
this.tbCurrentLocation.ReadOnly = true; this.tbCurrentLocation.ReadOnly = true;
this.tbCurrentLocation.Size = new System.Drawing.Size(226, 35); this.tbCurrentLocation.Size = new System.Drawing.Size(337, 49);
this.tbCurrentLocation.TabIndex = 1; this.tbCurrentLocation.TabIndex = 1;
// //
// tbCurrentDepartment // tbCurrentDepartment
// //
this.tbCurrentDepartment.Enabled = false; this.tbCurrentDepartment.Enabled = false;
this.tbCurrentDepartment.Font = new System.Drawing.Font("宋体", 18F); this.tbCurrentDepartment.Font = new System.Drawing.Font("宋体", 18F);
this.tbCurrentDepartment.Location = new System.Drawing.Point(16, 36); this.tbCurrentDepartment.Location = new System.Drawing.Point(24, 60);
this.tbCurrentDepartment.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbCurrentDepartment.Name = "tbCurrentDepartment"; this.tbCurrentDepartment.Name = "tbCurrentDepartment";
this.tbCurrentDepartment.ReadOnly = true; this.tbCurrentDepartment.ReadOnly = true;
this.tbCurrentDepartment.Size = new System.Drawing.Size(226, 35); this.tbCurrentDepartment.Size = new System.Drawing.Size(337, 49);
this.tbCurrentDepartment.TabIndex = 0; this.tbCurrentDepartment.TabIndex = 0;
// //
// gbLogin // gbLogin
...@@ -220,8 +232,10 @@ ...@@ -220,8 +232,10 @@
this.gbLogin.Controls.Add(this.tbxUserName); this.gbLogin.Controls.Add(this.tbxUserName);
this.gbLogin.Dock = System.Windows.Forms.DockStyle.Top; this.gbLogin.Dock = System.Windows.Forms.DockStyle.Top;
this.gbLogin.Location = new System.Drawing.Point(0, 0); this.gbLogin.Location = new System.Drawing.Point(0, 0);
this.gbLogin.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbLogin.Name = "gbLogin"; this.gbLogin.Name = "gbLogin";
this.gbLogin.Size = new System.Drawing.Size(265, 346); this.gbLogin.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbLogin.Size = new System.Drawing.Size(398, 577);
this.gbLogin.TabIndex = 0; this.gbLogin.TabIndex = 0;
this.gbLogin.TabStop = false; this.gbLogin.TabStop = false;
this.gbLogin.Text = "登录"; this.gbLogin.Text = "登录";
...@@ -231,9 +245,10 @@ ...@@ -231,9 +245,10 @@
this.lbLogStatus.AutoSize = true; this.lbLogStatus.AutoSize = true;
this.lbLogStatus.Font = new System.Drawing.Font("宋体", 25F); this.lbLogStatus.Font = new System.Drawing.Font("宋体", 25F);
this.lbLogStatus.ForeColor = System.Drawing.Color.Red; this.lbLogStatus.ForeColor = System.Drawing.Color.Red;
this.lbLogStatus.Location = new System.Drawing.Point(12, 242); this.lbLogStatus.Location = new System.Drawing.Point(18, 403);
this.lbLogStatus.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbLogStatus.Name = "lbLogStatus"; this.lbLogStatus.Name = "lbLogStatus";
this.lbLogStatus.Size = new System.Drawing.Size(117, 34); this.lbLogStatus.Size = new System.Drawing.Size(172, 50);
this.lbLogStatus.TabIndex = 29; this.lbLogStatus.TabIndex = 29;
this.lbLogStatus.Text = "未登录"; this.lbLogStatus.Text = "未登录";
// //
...@@ -242,9 +257,10 @@ ...@@ -242,9 +257,10 @@
this.btnLogout.BackColor = System.Drawing.Color.LavenderBlush; this.btnLogout.BackColor = System.Drawing.Color.LavenderBlush;
this.btnLogout.Font = new System.Drawing.Font("宋体", 15F); this.btnLogout.Font = new System.Drawing.Font("宋体", 15F);
this.btnLogout.ForeColor = System.Drawing.Color.Crimson; this.btnLogout.ForeColor = System.Drawing.Color.Crimson;
this.btnLogout.Location = new System.Drawing.Point(131, 288); this.btnLogout.Location = new System.Drawing.Point(196, 480);
this.btnLogout.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.btnLogout.Name = "btnLogout"; this.btnLogout.Name = "btnLogout";
this.btnLogout.Size = new System.Drawing.Size(107, 43); this.btnLogout.Size = new System.Drawing.Size(160, 72);
this.btnLogout.TabIndex = 28; this.btnLogout.TabIndex = 28;
this.btnLogout.Text = "退 出"; this.btnLogout.Text = "退 出";
this.btnLogout.UseVisualStyleBackColor = false; this.btnLogout.UseVisualStyleBackColor = false;
...@@ -255,9 +271,10 @@ ...@@ -255,9 +271,10 @@
this.btnLogin.BackColor = System.Drawing.Color.MintCream; this.btnLogin.BackColor = System.Drawing.Color.MintCream;
this.btnLogin.Font = new System.Drawing.Font("宋体", 15F); this.btnLogin.Font = new System.Drawing.Font("宋体", 15F);
this.btnLogin.ForeColor = System.Drawing.Color.DarkGreen; this.btnLogin.ForeColor = System.Drawing.Color.DarkGreen;
this.btnLogin.Location = new System.Drawing.Point(12, 288); this.btnLogin.Location = new System.Drawing.Point(18, 480);
this.btnLogin.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.btnLogin.Name = "btnLogin"; this.btnLogin.Name = "btnLogin";
this.btnLogin.Size = new System.Drawing.Size(107, 43); this.btnLogin.Size = new System.Drawing.Size(160, 72);
this.btnLogin.TabIndex = 27; this.btnLogin.TabIndex = 27;
this.btnLogin.Text = "登 录"; this.btnLogin.Text = "登 录";
this.btnLogin.UseVisualStyleBackColor = false; this.btnLogin.UseVisualStyleBackColor = false;
...@@ -267,9 +284,10 @@ ...@@ -267,9 +284,10 @@
// //
this.lblUrl.AutoSize = true; this.lblUrl.AutoSize = true;
this.lblUrl.Font = new System.Drawing.Font("宋体", 18F); this.lblUrl.Font = new System.Drawing.Font("宋体", 18F);
this.lblUrl.Location = new System.Drawing.Point(8, 36); this.lblUrl.Location = new System.Drawing.Point(12, 60);
this.lblUrl.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblUrl.Name = "lblUrl"; this.lblUrl.Name = "lblUrl";
this.lblUrl.Size = new System.Drawing.Size(94, 24); this.lblUrl.Size = new System.Drawing.Size(141, 36);
this.lblUrl.TabIndex = 21; this.lblUrl.TabIndex = 21;
this.lblUrl.Text = "地 址:"; this.lblUrl.Text = "地 址:";
// //
...@@ -277,9 +295,10 @@ ...@@ -277,9 +295,10 @@
// //
this.lblUser.AutoSize = true; this.lblUser.AutoSize = true;
this.lblUser.Font = new System.Drawing.Font("宋体", 18F); this.lblUser.Font = new System.Drawing.Font("宋体", 18F);
this.lblUser.Location = new System.Drawing.Point(8, 101); this.lblUser.Location = new System.Drawing.Point(12, 168);
this.lblUser.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblUser.Name = "lblUser"; this.lblUser.Name = "lblUser";
this.lblUser.Size = new System.Drawing.Size(94, 24); this.lblUser.Size = new System.Drawing.Size(141, 36);
this.lblUser.TabIndex = 22; this.lblUser.TabIndex = 22;
this.lblUser.Text = "用户名:"; this.lblUser.Text = "用户名:";
// //
...@@ -287,19 +306,21 @@ ...@@ -287,19 +306,21 @@
// //
this.lblPassword.AutoSize = true; this.lblPassword.AutoSize = true;
this.lblPassword.Font = new System.Drawing.Font("宋体", 18F); this.lblPassword.Font = new System.Drawing.Font("宋体", 18F);
this.lblPassword.Location = new System.Drawing.Point(8, 166); this.lblPassword.Location = new System.Drawing.Point(12, 277);
this.lblPassword.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblPassword.Name = "lblPassword"; this.lblPassword.Name = "lblPassword";
this.lblPassword.Size = new System.Drawing.Size(94, 24); this.lblPassword.Size = new System.Drawing.Size(141, 36);
this.lblPassword.TabIndex = 23; this.lblPassword.TabIndex = 23;
this.lblPassword.Text = "密 码:"; this.lblPassword.Text = "密 码:";
// //
// tbxPassword // tbxPassword
// //
this.tbxPassword.Font = new System.Drawing.Font("宋体", 18F); this.tbxPassword.Font = new System.Drawing.Font("宋体", 18F);
this.tbxPassword.Location = new System.Drawing.Point(12, 193); this.tbxPassword.Location = new System.Drawing.Point(18, 322);
this.tbxPassword.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbxPassword.Name = "tbxPassword"; this.tbxPassword.Name = "tbxPassword";
this.tbxPassword.PasswordChar = '*'; this.tbxPassword.PasswordChar = '*';
this.tbxPassword.Size = new System.Drawing.Size(226, 35); this.tbxPassword.Size = new System.Drawing.Size(337, 49);
this.tbxPassword.TabIndex = 26; this.tbxPassword.TabIndex = 26;
this.tbxPassword.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbxPassword_KeyDown); this.tbxPassword.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbxPassword_KeyDown);
// //
...@@ -307,26 +328,29 @@ ...@@ -307,26 +328,29 @@
// //
this.tbxServiceUrl.BackColor = System.Drawing.SystemColors.Window; this.tbxServiceUrl.BackColor = System.Drawing.SystemColors.Window;
this.tbxServiceUrl.Font = new System.Drawing.Font("宋体", 18F); this.tbxServiceUrl.Font = new System.Drawing.Font("宋体", 18F);
this.tbxServiceUrl.Location = new System.Drawing.Point(12, 63); this.tbxServiceUrl.Location = new System.Drawing.Point(18, 105);
this.tbxServiceUrl.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbxServiceUrl.Name = "tbxServiceUrl"; this.tbxServiceUrl.Name = "tbxServiceUrl";
this.tbxServiceUrl.Size = new System.Drawing.Size(226, 35); this.tbxServiceUrl.Size = new System.Drawing.Size(337, 49);
this.tbxServiceUrl.TabIndex = 24; this.tbxServiceUrl.TabIndex = 24;
// //
// tbxUserName // tbxUserName
// //
this.tbxUserName.Font = new System.Drawing.Font("宋体", 18F); this.tbxUserName.Font = new System.Drawing.Font("宋体", 18F);
this.tbxUserName.Location = new System.Drawing.Point(12, 128); this.tbxUserName.Location = new System.Drawing.Point(18, 213);
this.tbxUserName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbxUserName.Name = "tbxUserName"; this.tbxUserName.Name = "tbxUserName";
this.tbxUserName.Size = new System.Drawing.Size(226, 35); this.tbxUserName.Size = new System.Drawing.Size(337, 49);
this.tbxUserName.TabIndex = 25; this.tbxUserName.TabIndex = 25;
// //
// plToolBar // plToolBar
// //
this.plToolBar.Controls.Add(this.gbTools); this.plToolBar.Controls.Add(this.gbTools);
this.plToolBar.Dock = System.Windows.Forms.DockStyle.Top; this.plToolBar.Dock = System.Windows.Forms.DockStyle.Top;
this.plToolBar.Location = new System.Drawing.Point(265, 0); this.plToolBar.Location = new System.Drawing.Point(398, 0);
this.plToolBar.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.plToolBar.Name = "plToolBar"; this.plToolBar.Name = "plToolBar";
this.plToolBar.Size = new System.Drawing.Size(912, 125); this.plToolBar.Size = new System.Drawing.Size(1368, 208);
this.plToolBar.TabIndex = 1; this.plToolBar.TabIndex = 1;
// //
// gbTools // gbTools
...@@ -343,8 +367,10 @@ ...@@ -343,8 +367,10 @@
this.gbTools.Controls.Add(this.tbSetCurrentPackage); this.gbTools.Controls.Add(this.tbSetCurrentPackage);
this.gbTools.Dock = System.Windows.Forms.DockStyle.Fill; this.gbTools.Dock = System.Windows.Forms.DockStyle.Fill;
this.gbTools.Location = new System.Drawing.Point(0, 0); this.gbTools.Location = new System.Drawing.Point(0, 0);
this.gbTools.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbTools.Name = "gbTools"; this.gbTools.Name = "gbTools";
this.gbTools.Size = new System.Drawing.Size(912, 125); this.gbTools.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbTools.Size = new System.Drawing.Size(1368, 208);
this.gbTools.TabIndex = 0; this.gbTools.TabIndex = 0;
this.gbTools.TabStop = false; this.gbTools.TabStop = false;
this.gbTools.Text = "操作台"; this.gbTools.Text = "操作台";
...@@ -354,9 +380,10 @@ ...@@ -354,9 +380,10 @@
this.ckbAutoCreatePackage.AutoSize = true; this.ckbAutoCreatePackage.AutoSize = true;
this.ckbAutoCreatePackage.Checked = true; this.ckbAutoCreatePackage.Checked = true;
this.ckbAutoCreatePackage.CheckState = System.Windows.Forms.CheckState.Checked; this.ckbAutoCreatePackage.CheckState = System.Windows.Forms.CheckState.Checked;
this.ckbAutoCreatePackage.Location = new System.Drawing.Point(196, 41); this.ckbAutoCreatePackage.Location = new System.Drawing.Point(294, 68);
this.ckbAutoCreatePackage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.ckbAutoCreatePackage.Name = "ckbAutoCreatePackage"; this.ckbAutoCreatePackage.Name = "ckbAutoCreatePackage";
this.ckbAutoCreatePackage.Size = new System.Drawing.Size(72, 16); this.ckbAutoCreatePackage.Size = new System.Drawing.Size(99, 24);
this.ckbAutoCreatePackage.TabIndex = 81; this.ckbAutoCreatePackage.TabIndex = 81;
this.ckbAutoCreatePackage.Text = "创建箱号"; this.ckbAutoCreatePackage.Text = "创建箱号";
this.ckbAutoCreatePackage.UseVisualStyleBackColor = true; this.ckbAutoCreatePackage.UseVisualStyleBackColor = true;
...@@ -366,9 +393,10 @@ ...@@ -366,9 +393,10 @@
this.lbTips.AutoSize = true; this.lbTips.AutoSize = true;
this.lbTips.Font = new System.Drawing.Font("宋体", 10F); this.lbTips.Font = new System.Drawing.Font("宋体", 10F);
this.lbTips.ForeColor = System.Drawing.SystemColors.ButtonShadow; this.lbTips.ForeColor = System.Drawing.SystemColors.ButtonShadow;
this.lbTips.Location = new System.Drawing.Point(529, 46); this.lbTips.Location = new System.Drawing.Point(794, 77);
this.lbTips.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbTips.Name = "lbTips"; this.lbTips.Name = "lbTips";
this.lbTips.Size = new System.Drawing.Size(119, 14); this.lbTips.Size = new System.Drawing.Size(169, 20);
this.lbTips.TabIndex = 80; this.lbTips.TabIndex = 80;
this.lbTips.Text = "(输入完成报告号)"; this.lbTips.Text = "(输入完成报告号)";
// //
...@@ -376,9 +404,10 @@ ...@@ -376,9 +404,10 @@
// //
this.lbScanSample.AutoSize = true; this.lbScanSample.AutoSize = true;
this.lbScanSample.Font = new System.Drawing.Font("宋体", 18F); this.lbScanSample.Font = new System.Drawing.Font("宋体", 18F);
this.lbScanSample.Location = new System.Drawing.Point(421, 36); this.lbScanSample.Location = new System.Drawing.Point(632, 60);
this.lbScanSample.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbScanSample.Name = "lbScanSample"; this.lbScanSample.Name = "lbScanSample";
this.lbScanSample.Size = new System.Drawing.Size(118, 24); this.lbScanSample.Size = new System.Drawing.Size(177, 36);
this.lbScanSample.TabIndex = 79; this.lbScanSample.TabIndex = 79;
this.lbScanSample.Text = "手动入箱:"; this.lbScanSample.Text = "手动入箱:";
// //
...@@ -386,17 +415,19 @@ ...@@ -386,17 +415,19 @@
// //
this.tbScanSample.BackColor = System.Drawing.SystemColors.Window; this.tbScanSample.BackColor = System.Drawing.SystemColors.Window;
this.tbScanSample.Font = new System.Drawing.Font("宋体", 18F); this.tbScanSample.Font = new System.Drawing.Font("宋体", 18F);
this.tbScanSample.Location = new System.Drawing.Point(425, 63); this.tbScanSample.Location = new System.Drawing.Point(638, 105);
this.tbScanSample.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbScanSample.Name = "tbScanSample"; this.tbScanSample.Name = "tbScanSample";
this.tbScanSample.Size = new System.Drawing.Size(249, 35); this.tbScanSample.Size = new System.Drawing.Size(372, 49);
this.tbScanSample.TabIndex = 78; this.tbScanSample.TabIndex = 78;
this.tbScanSample.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbScanSample_KeyDown); this.tbScanSample.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbScanSample_KeyDown);
// //
// btnClearCurrentPackage // btnClearCurrentPackage
// //
this.btnClearCurrentPackage.Location = new System.Drawing.Point(121, 37); this.btnClearCurrentPackage.Location = new System.Drawing.Point(182, 62);
this.btnClearCurrentPackage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.btnClearCurrentPackage.Name = "btnClearCurrentPackage"; this.btnClearCurrentPackage.Name = "btnClearCurrentPackage";
this.btnClearCurrentPackage.Size = new System.Drawing.Size(67, 23); this.btnClearCurrentPackage.Size = new System.Drawing.Size(100, 38);
this.btnClearCurrentPackage.TabIndex = 77; this.btnClearCurrentPackage.TabIndex = 77;
this.btnClearCurrentPackage.Text = "重设"; this.btnClearCurrentPackage.Text = "重设";
this.btnClearCurrentPackage.UseVisualStyleBackColor = true; this.btnClearCurrentPackage.UseVisualStyleBackColor = true;
...@@ -408,9 +439,10 @@ ...@@ -408,9 +439,10 @@
this.btnScanRfid.Dock = System.Windows.Forms.DockStyle.Right; this.btnScanRfid.Dock = System.Windows.Forms.DockStyle.Right;
this.btnScanRfid.Font = new System.Drawing.Font("宋体", 25F, System.Drawing.FontStyle.Bold); this.btnScanRfid.Font = new System.Drawing.Font("宋体", 25F, System.Drawing.FontStyle.Bold);
this.btnScanRfid.ForeColor = System.Drawing.Color.Chocolate; this.btnScanRfid.ForeColor = System.Drawing.Color.Chocolate;
this.btnScanRfid.Location = new System.Drawing.Point(783, 17); this.btnScanRfid.Location = new System.Drawing.Point(1175, 24);
this.btnScanRfid.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.btnScanRfid.Name = "btnScanRfid"; this.btnScanRfid.Name = "btnScanRfid";
this.btnScanRfid.Size = new System.Drawing.Size(126, 105); this.btnScanRfid.Size = new System.Drawing.Size(189, 179);
this.btnScanRfid.TabIndex = 76; this.btnScanRfid.TabIndex = 76;
this.btnScanRfid.Text = "开始扫描"; this.btnScanRfid.Text = "开始扫描";
this.btnScanRfid.UseVisualStyleBackColor = false; this.btnScanRfid.UseVisualStyleBackColor = false;
...@@ -427,9 +459,10 @@ ...@@ -427,9 +459,10 @@
"4号袋", "4号袋",
"5号袋", "5号袋",
"6号袋"}); "6号袋"});
this.cbSetCurrentPackageNode.Location = new System.Drawing.Point(276, 63); this.cbSetCurrentPackageNode.Location = new System.Drawing.Point(414, 105);
this.cbSetCurrentPackageNode.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cbSetCurrentPackageNode.Name = "cbSetCurrentPackageNode"; this.cbSetCurrentPackageNode.Name = "cbSetCurrentPackageNode";
this.cbSetCurrentPackageNode.Size = new System.Drawing.Size(143, 35); this.cbSetCurrentPackageNode.Size = new System.Drawing.Size(212, 48);
this.cbSetCurrentPackageNode.TabIndex = 30; this.cbSetCurrentPackageNode.TabIndex = 30;
this.cbSetCurrentPackageNode.TextChanged += new System.EventHandler(this.cbSetCurrentPackageNode_TextChanged); this.cbSetCurrentPackageNode.TextChanged += new System.EventHandler(this.cbSetCurrentPackageNode_TextChanged);
// //
...@@ -437,9 +470,10 @@ ...@@ -437,9 +470,10 @@
// //
this.lbSetPackageNode.AutoSize = true; this.lbSetPackageNode.AutoSize = true;
this.lbSetPackageNode.Font = new System.Drawing.Font("宋体", 18F); this.lbSetPackageNode.Font = new System.Drawing.Font("宋体", 18F);
this.lbSetPackageNode.Location = new System.Drawing.Point(274, 36); this.lbSetPackageNode.Location = new System.Drawing.Point(411, 60);
this.lbSetPackageNode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbSetPackageNode.Name = "lbSetPackageNode"; this.lbSetPackageNode.Name = "lbSetPackageNode";
this.lbSetPackageNode.Size = new System.Drawing.Size(118, 24); this.lbSetPackageNode.Size = new System.Drawing.Size(177, 36);
this.lbSetPackageNode.TabIndex = 28; this.lbSetPackageNode.TabIndex = 28;
this.lbSetPackageNode.Text = "袋子选择:"; this.lbSetPackageNode.Text = "袋子选择:";
// //
...@@ -447,9 +481,10 @@ ...@@ -447,9 +481,10 @@
// //
this.lbSetPackage.AutoSize = true; this.lbSetPackage.AutoSize = true;
this.lbSetPackage.Font = new System.Drawing.Font("宋体", 18F); this.lbSetPackage.Font = new System.Drawing.Font("宋体", 18F);
this.lbSetPackage.Location = new System.Drawing.Point(6, 36); this.lbSetPackage.Location = new System.Drawing.Point(9, 60);
this.lbSetPackage.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbSetPackage.Name = "lbSetPackage"; this.lbSetPackage.Name = "lbSetPackage";
this.lbSetPackage.Size = new System.Drawing.Size(118, 24); this.lbSetPackage.Size = new System.Drawing.Size(177, 36);
this.lbSetPackage.TabIndex = 26; this.lbSetPackage.TabIndex = 26;
this.lbSetPackage.Text = "箱号设置:"; this.lbSetPackage.Text = "箱号设置:";
// //
...@@ -457,9 +492,10 @@ ...@@ -457,9 +492,10 @@
// //
this.tbSetCurrentPackage.BackColor = System.Drawing.SystemColors.Window; this.tbSetCurrentPackage.BackColor = System.Drawing.SystemColors.Window;
this.tbSetCurrentPackage.Font = new System.Drawing.Font("宋体", 18F); this.tbSetCurrentPackage.Font = new System.Drawing.Font("宋体", 18F);
this.tbSetCurrentPackage.Location = new System.Drawing.Point(6, 63); this.tbSetCurrentPackage.Location = new System.Drawing.Point(9, 105);
this.tbSetCurrentPackage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tbSetCurrentPackage.Name = "tbSetCurrentPackage"; this.tbSetCurrentPackage.Name = "tbSetCurrentPackage";
this.tbSetCurrentPackage.Size = new System.Drawing.Size(266, 35); this.tbSetCurrentPackage.Size = new System.Drawing.Size(397, 49);
this.tbSetCurrentPackage.TabIndex = 25; this.tbSetCurrentPackage.TabIndex = 25;
this.tbSetCurrentPackage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbSetCurrentPackage_KeyDown); this.tbSetCurrentPackage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbSetCurrentPackage_KeyDown);
// //
...@@ -467,9 +503,10 @@ ...@@ -467,9 +503,10 @@
// //
this.plMain.Controls.Add(this.gbMain); this.plMain.Controls.Add(this.gbMain);
this.plMain.Dock = System.Windows.Forms.DockStyle.Fill; this.plMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.plMain.Location = new System.Drawing.Point(265, 125); this.plMain.Location = new System.Drawing.Point(398, 208);
this.plMain.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.plMain.Name = "plMain"; this.plMain.Name = "plMain";
this.plMain.Size = new System.Drawing.Size(912, 534); this.plMain.Size = new System.Drawing.Size(1368, 890);
this.plMain.TabIndex = 2; this.plMain.TabIndex = 2;
// //
// gbMain // gbMain
...@@ -478,8 +515,10 @@ ...@@ -478,8 +515,10 @@
this.gbMain.Dock = System.Windows.Forms.DockStyle.Fill; this.gbMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.gbMain.Font = new System.Drawing.Font("宋体", 9F); this.gbMain.Font = new System.Drawing.Font("宋体", 9F);
this.gbMain.Location = new System.Drawing.Point(0, 0); this.gbMain.Location = new System.Drawing.Point(0, 0);
this.gbMain.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbMain.Name = "gbMain"; this.gbMain.Name = "gbMain";
this.gbMain.Size = new System.Drawing.Size(912, 534); this.gbMain.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.gbMain.Size = new System.Drawing.Size(1368, 890);
this.gbMain.TabIndex = 0; this.gbMain.TabIndex = 0;
this.gbMain.TabStop = false; this.gbMain.TabStop = false;
this.gbMain.Text = "入箱列表"; this.gbMain.Text = "入箱列表";
...@@ -499,11 +538,13 @@ ...@@ -499,11 +538,13 @@
this.SamplePackageName, this.SamplePackageName,
this.SampleQuantityUnit}); this.SampleQuantityUnit});
this.dgvSamples.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvSamples.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvSamples.Location = new System.Drawing.Point(3, 17); this.dgvSamples.Location = new System.Drawing.Point(4, 26);
this.dgvSamples.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.dgvSamples.Name = "dgvSamples"; this.dgvSamples.Name = "dgvSamples";
this.dgvSamples.ReadOnly = true; this.dgvSamples.ReadOnly = true;
this.dgvSamples.RowHeadersWidth = 62;
this.dgvSamples.RowTemplate.Height = 23; this.dgvSamples.RowTemplate.Height = 23;
this.dgvSamples.Size = new System.Drawing.Size(906, 514); this.dgvSamples.Size = new System.Drawing.Size(1360, 859);
this.dgvSamples.TabIndex = 0; this.dgvSamples.TabIndex = 0;
this.dgvSamples.DataSourceChanged += new System.EventHandler(this.dgvSamples_DataSourceChanged); this.dgvSamples.DataSourceChanged += new System.EventHandler(this.dgvSamples_DataSourceChanged);
this.dgvSamples.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSamples_CellContentClick); this.dgvSamples.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSamples_CellContentClick);
...@@ -559,6 +600,7 @@ ...@@ -559,6 +600,7 @@
this.SampleDealTime.MinimumWidth = 100; this.SampleDealTime.MinimumWidth = 100;
this.SampleDealTime.Name = "SampleDealTime"; this.SampleDealTime.Name = "SampleDealTime";
this.SampleDealTime.ReadOnly = true; this.SampleDealTime.ReadOnly = true;
this.SampleDealTime.Width = 150;
// //
// SampleDeadTime // SampleDeadTime
// //
...@@ -567,6 +609,7 @@ ...@@ -567,6 +609,7 @@
this.SampleDeadTime.MinimumWidth = 100; this.SampleDeadTime.MinimumWidth = 100;
this.SampleDeadTime.Name = "SampleDeadTime"; this.SampleDeadTime.Name = "SampleDeadTime";
this.SampleDeadTime.ReadOnly = true; this.SampleDeadTime.ReadOnly = true;
this.SampleDeadTime.Width = 150;
// //
// SamplePackageName // SamplePackageName
// //
...@@ -584,18 +627,20 @@ ...@@ -584,18 +627,20 @@
this.SampleQuantityUnit.MinimumWidth = 100; this.SampleQuantityUnit.MinimumWidth = 100;
this.SampleQuantityUnit.Name = "SampleQuantityUnit"; this.SampleQuantityUnit.Name = "SampleQuantityUnit";
this.SampleQuantityUnit.ReadOnly = true; this.SampleQuantityUnit.ReadOnly = true;
this.SampleQuantityUnit.Width = 150;
// //
// FrmMain // FrmMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1177, 659); this.ClientSize = new System.Drawing.Size(1766, 1098);
this.Controls.Add(this.plMain); this.Controls.Add(this.plMain);
this.Controls.Add(this.plToolBar); this.Controls.Add(this.plToolBar);
this.Controls.Add(this.plLeft); this.Controls.Add(this.plLeft);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Name = "FrmMain"; this.Name = "FrmMain";
this.Text = "样品入箱客户端 1.7(23.8.070 CP2101)"; this.Text = "样品入箱客户端 1.8(25.1.030 CP2101)";
this.Load += new System.EventHandler(this.FrmMain_Load); this.Load += new System.EventHandler(this.FrmMain_Load);
this.plLeft.ResumeLayout(false); this.plLeft.ResumeLayout(false);
this.gbInfo.ResumeLayout(false); this.gbInfo.ResumeLayout(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment