章政 7 жил өмнө
parent
commit
fa5c246b58

+ 33 - 31
UAS-出货标签管理(吉利通)/UAS_出货标签管理.Designer.cs

@@ -106,8 +106,8 @@
             this.CutOutBox = new System.Windows.Forms.Button();
             this.CutMidBox = new System.Windows.Forms.Button();
             this.AddMidBox = new System.Windows.Forms.Button();
-            this.enterTextBox4 = new UAS_LabelMachine.CustomControl.EnterTextBox();
-            this.enterTextBox3 = new UAS_LabelMachine.CustomControl.EnterTextBox();
+            this.SetOutBox = new UAS_LabelMachine.CustomControl.EnterTextBox();
+            this.SetMidBox = new UAS_LabelMachine.CustomControl.EnterTextBox();
             this.ButtonSetMidBox = new System.Windows.Forms.Button();
             this.ButtonSetOutBox = new System.Windows.Forms.Button();
             this.ButtonRecheckPass = new System.Windows.Forms.Button();
@@ -780,8 +780,8 @@
             this.CollectionProcess.Controls.Add(this.CutOutBox);
             this.CollectionProcess.Controls.Add(this.CutMidBox);
             this.CollectionProcess.Controls.Add(this.AddMidBox);
-            this.CollectionProcess.Controls.Add(this.enterTextBox4);
-            this.CollectionProcess.Controls.Add(this.enterTextBox3);
+            this.CollectionProcess.Controls.Add(this.SetOutBox);
+            this.CollectionProcess.Controls.Add(this.SetMidBox);
             this.CollectionProcess.Controls.Add(this.ButtonSetMidBox);
             this.CollectionProcess.Controls.Add(this.ButtonSetOutBox);
             this.CollectionProcess.Controls.Add(this.ButtonRecheckPass);
@@ -1001,31 +1001,31 @@
             this.AddMidBox.UseVisualStyleBackColor = true;
             this.AddMidBox.Click += new System.EventHandler(this.AddCutBox_Click);
             // 
-            // enterTextBox4
-            // 
-            this.enterTextBox4.Font = new System.Drawing.Font("微软雅黑", 9F);
-            this.enterTextBox4.ID = null;
-            this.enterTextBox4.Location = new System.Drawing.Point(265, 146);
-            this.enterTextBox4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.enterTextBox4.Name = "enterTextBox4";
-            this.enterTextBox4.Size = new System.Drawing.Size(29, 23);
-            this.enterTextBox4.Str = null;
-            this.enterTextBox4.Str1 = null;
-            this.enterTextBox4.Str2 = null;
-            this.enterTextBox4.TabIndex = 106;
-            // 
-            // enterTextBox3
-            // 
-            this.enterTextBox3.Font = new System.Drawing.Font("微软雅黑", 9F);
-            this.enterTextBox3.ID = null;
-            this.enterTextBox3.Location = new System.Drawing.Point(265, 117);
-            this.enterTextBox3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
-            this.enterTextBox3.Name = "enterTextBox3";
-            this.enterTextBox3.Size = new System.Drawing.Size(29, 23);
-            this.enterTextBox3.Str = null;
-            this.enterTextBox3.Str1 = null;
-            this.enterTextBox3.Str2 = null;
-            this.enterTextBox3.TabIndex = 105;
+            // SetOutBox
+            // 
+            this.SetOutBox.Font = new System.Drawing.Font("微软雅黑", 9F);
+            this.SetOutBox.ID = null;
+            this.SetOutBox.Location = new System.Drawing.Point(265, 146);
+            this.SetOutBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+            this.SetOutBox.Name = "SetOutBox";
+            this.SetOutBox.Size = new System.Drawing.Size(29, 23);
+            this.SetOutBox.Str = null;
+            this.SetOutBox.Str1 = null;
+            this.SetOutBox.Str2 = null;
+            this.SetOutBox.TabIndex = 106;
+            // 
+            // SetMidBox
+            // 
+            this.SetMidBox.Font = new System.Drawing.Font("微软雅黑", 9F);
+            this.SetMidBox.ID = null;
+            this.SetMidBox.Location = new System.Drawing.Point(265, 117);
+            this.SetMidBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+            this.SetMidBox.Name = "SetMidBox";
+            this.SetMidBox.Size = new System.Drawing.Size(29, 23);
+            this.SetMidBox.Str = null;
+            this.SetMidBox.Str1 = null;
+            this.SetMidBox.Str2 = null;
+            this.SetMidBox.TabIndex = 105;
             // 
             // ButtonSetMidBox
             // 
@@ -1037,6 +1037,7 @@
             this.ButtonSetMidBox.TabIndex = 104;
             this.ButtonSetMidBox.Text = "设置中盒号";
             this.ButtonSetMidBox.UseVisualStyleBackColor = true;
+            this.ButtonSetMidBox.Click += new System.EventHandler(this.ButtonSetMidBox_Click);
             // 
             // ButtonSetOutBox
             // 
@@ -1048,6 +1049,7 @@
             this.ButtonSetOutBox.TabIndex = 103;
             this.ButtonSetOutBox.Text = "设置外箱号";
             this.ButtonSetOutBox.UseVisualStyleBackColor = true;
+            this.ButtonSetOutBox.Click += new System.EventHandler(this.ButtonSetOutBox_Click);
             // 
             // ButtonRecheckPass
             // 
@@ -2434,8 +2436,8 @@
         private System.Windows.Forms.Button ButtonRecheckPass;
         private System.Windows.Forms.Button ButtonSetOutBox;
         private System.Windows.Forms.Button ButtonSetMidBox;
-        private CustomControl.EnterTextBox enterTextBox3;
-        private CustomControl.EnterTextBox enterTextBox4;
+        private CustomControl.EnterTextBox SetMidBox;
+        private CustomControl.EnterTextBox SetOutBox;
         private System.Windows.Forms.Button AddMidBox;
         private System.Windows.Forms.Button CutMidBox;
         private System.Windows.Forms.Button CutOutBox;

+ 10 - 0
UAS-出货标签管理(吉利通)/UAS_出货标签管理.cs

@@ -1624,6 +1624,16 @@ namespace UAS_LabelMachine
 
         }
 
+        private void ButtonSetMidBox_Click(object sender, EventArgs e)
+        {
+            Process_midboxcode.Text = SetMidBox.Text;
+        }
+
+        private void ButtonSetOutBox_Click(object sender, EventArgs e)
+        {
+            Process_outboxcode.Text = SetOutBox.Text;
+        }
+
         private void Collection_CheckedChanged(object sender, EventArgs e)
         {
             ButtonCollectPass.Enabled = ManualCollection.Checked;