Browse Source

自动勾选导出内容

章政 5 years ago
parent
commit
f6dc04fe14

+ 129 - 121
UAS-出货标签管理(贸易版)/ExportExcel.Designer.cs

@@ -75,10 +75,10 @@
             // 
             // Export
             // 
-            this.Export.Location = new System.Drawing.Point(584, 640);
-            this.Export.Margin = new System.Windows.Forms.Padding(4);
+            this.Export.Location = new System.Drawing.Point(292, 320);
+            this.Export.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.Export.Name = "Export";
-            this.Export.Size = new System.Drawing.Size(188, 48);
+            this.Export.Size = new System.Drawing.Size(94, 24);
             this.Export.TabIndex = 0;
             this.Export.Text = "导出";
             this.Export.UseVisualStyleBackColor = true;
@@ -90,10 +90,10 @@
             this.CH_BLUEFILM.Checked = true;
             this.CH_BLUEFILM.CheckState = System.Windows.Forms.CheckState.Checked;
             this.CH_BLUEFILM.Font = new System.Drawing.Font("宋体", 10F);
-            this.CH_BLUEFILM.Location = new System.Drawing.Point(260, 116);
-            this.CH_BLUEFILM.Margin = new System.Windows.Forms.Padding(4);
+            this.CH_BLUEFILM.Location = new System.Drawing.Point(130, 58);
+            this.CH_BLUEFILM.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.CH_BLUEFILM.Name = "CH_BLUEFILM";
-            this.CH_BLUEFILM.Size = new System.Drawing.Size(152, 31);
+            this.CH_BLUEFILM.Size = new System.Drawing.Size(82, 18);
             this.CH_BLUEFILM.TabIndex = 1;
             this.CH_BLUEFILM.Text = "划片片号";
             this.CH_BLUEFILM.UseVisualStyleBackColor = true;
@@ -102,10 +102,10 @@
             // 
             this.CH_SPLITBATCH.AutoSize = true;
             this.CH_SPLITBATCH.Font = new System.Drawing.Font("宋体", 10F);
-            this.CH_SPLITBATCH.Location = new System.Drawing.Point(700, 116);
-            this.CH_SPLITBATCH.Margin = new System.Windows.Forms.Padding(4);
+            this.CH_SPLITBATCH.Location = new System.Drawing.Point(350, 58);
+            this.CH_SPLITBATCH.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.CH_SPLITBATCH.Name = "CH_SPLITBATCH";
-            this.CH_SPLITBATCH.Size = new System.Drawing.Size(152, 31);
+            this.CH_SPLITBATCH.Size = new System.Drawing.Size(82, 18);
             this.CH_SPLITBATCH.TabIndex = 3;
             this.CH_SPLITBATCH.Text = "扩散批号";
             this.CH_SPLITBATCH.UseVisualStyleBackColor = true;
@@ -114,10 +114,10 @@
             // 
             this.CH_PBCODE.AutoSize = true;
             this.CH_PBCODE.Font = new System.Drawing.Font("宋体", 10F);
-            this.CH_PBCODE.Location = new System.Drawing.Point(260, 188);
-            this.CH_PBCODE.Margin = new System.Windows.Forms.Padding(4);
+            this.CH_PBCODE.Location = new System.Drawing.Point(130, 94);
+            this.CH_PBCODE.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.CH_PBCODE.Name = "CH_PBCODE";
-            this.CH_PBCODE.Size = new System.Drawing.Size(98, 31);
+            this.CH_PBCODE.Size = new System.Drawing.Size(54, 18);
             this.CH_PBCODE.TabIndex = 8;
             this.CH_PBCODE.Text = "盒号";
             this.CH_PBCODE.UseVisualStyleBackColor = true;
@@ -126,10 +126,10 @@
             // 
             this.CH_REMARK.AutoSize = true;
             this.CH_REMARK.Font = new System.Drawing.Font("宋体", 10F);
-            this.CH_REMARK.Location = new System.Drawing.Point(488, 188);
-            this.CH_REMARK.Margin = new System.Windows.Forms.Padding(4);
+            this.CH_REMARK.Location = new System.Drawing.Point(244, 94);
+            this.CH_REMARK.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.CH_REMARK.Name = "CH_REMARK";
-            this.CH_REMARK.Size = new System.Drawing.Size(152, 31);
+            this.CH_REMARK.Size = new System.Drawing.Size(82, 18);
             this.CH_REMARK.TabIndex = 9;
             this.CH_REMARK.Text = "芯片备注";
             this.CH_REMARK.UseVisualStyleBackColor = true;
@@ -140,10 +140,10 @@
             this.ch_code.Checked = true;
             this.ch_code.CheckState = System.Windows.Forms.CheckState.Checked;
             this.ch_code.Font = new System.Drawing.Font("宋体", 10F);
-            this.ch_code.Location = new System.Drawing.Point(488, 116);
-            this.ch_code.Margin = new System.Windows.Forms.Padding(4);
+            this.ch_code.Location = new System.Drawing.Point(244, 58);
+            this.ch_code.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.ch_code.Name = "ch_code";
-            this.ch_code.Size = new System.Drawing.Size(125, 31);
+            this.ch_code.Size = new System.Drawing.Size(68, 18);
             this.ch_code.TabIndex = 10;
             this.ch_code.Text = "芯片号";
             this.ch_code.UseVisualStyleBackColor = true;
@@ -152,10 +152,10 @@
             // 
             this.CH_WATERID.AutoSize = true;
             this.CH_WATERID.Font = new System.Drawing.Font("宋体", 10F);
-            this.CH_WATERID.Location = new System.Drawing.Point(904, 116);
-            this.CH_WATERID.Margin = new System.Windows.Forms.Padding(4);
+            this.CH_WATERID.Location = new System.Drawing.Point(452, 58);
+            this.CH_WATERID.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.CH_WATERID.Name = "CH_WATERID";
-            this.CH_WATERID.Size = new System.Drawing.Size(156, 31);
+            this.CH_WATERID.Size = new System.Drawing.Size(82, 18);
             this.CH_WATERID.TabIndex = 11;
             this.CH_WATERID.Text = "Wafer_ID";
             this.CH_WATERID.UseVisualStyleBackColor = true;
@@ -164,10 +164,10 @@
             // 
             this.label1.AutoSize = true;
             this.label1.Font = new System.Drawing.Font("宋体", 10F);
-            this.label1.Location = new System.Drawing.Point(22, 52);
-            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label1.Location = new System.Drawing.Point(11, 26);
+            this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(120, 27);
+            this.label1.Size = new System.Drawing.Size(63, 14);
             this.label1.TabIndex = 12;
             this.label1.Text = "打印选项";
             // 
@@ -175,10 +175,10 @@
             // 
             this.label2.AutoSize = true;
             this.label2.Font = new System.Drawing.Font("宋体", 10F);
-            this.label2.Location = new System.Drawing.Point(22, 120);
-            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label2.Location = new System.Drawing.Point(11, 60);
+            this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(215, 27);
+            this.label2.Size = new System.Drawing.Size(112, 14);
             this.label2.TabIndex = 13;
             this.label2.Text = "请选择打印内容:";
             // 
@@ -186,10 +186,10 @@
             // 
             this.label3.AutoSize = true;
             this.label3.Font = new System.Drawing.Font("宋体", 10F);
-            this.label3.Location = new System.Drawing.Point(22, 270);
-            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label3.Location = new System.Drawing.Point(11, 135);
+            this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(216, 27);
+            this.label3.Size = new System.Drawing.Size(112, 14);
             this.label3.TabIndex = 14;
             this.label3.Text = "参数选择(机测):";
             // 
@@ -197,10 +197,10 @@
             // 
             this.label4.AutoSize = true;
             this.label4.Font = new System.Drawing.Font("宋体", 10F);
-            this.label4.Location = new System.Drawing.Point(22, 350);
-            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label4.Location = new System.Drawing.Point(11, 175);
+            this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(216, 27);
+            this.label4.Size = new System.Drawing.Size(112, 14);
             this.label4.TabIndex = 15;
             this.label4.Text = "参数选择(手测):";
             // 
@@ -208,10 +208,10 @@
             // 
             this.H_Param2.AutoSize = true;
             this.H_Param2.Font = new System.Drawing.Font("宋体", 10F);
-            this.H_Param2.Location = new System.Drawing.Point(488, 346);
-            this.H_Param2.Margin = new System.Windows.Forms.Padding(4);
+            this.H_Param2.Location = new System.Drawing.Point(244, 173);
+            this.H_Param2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.H_Param2.Name = "H_Param2";
-            this.H_Param2.Size = new System.Drawing.Size(156, 31);
+            this.H_Param2.Size = new System.Drawing.Size(82, 18);
             this.H_Param2.TabIndex = 17;
             this.H_Param2.Text = "H_Param2";
             this.H_Param2.UseVisualStyleBackColor = true;
@@ -221,10 +221,10 @@
             // 
             this.H_Param1.AutoSize = true;
             this.H_Param1.Font = new System.Drawing.Font("宋体", 10F);
-            this.H_Param1.Location = new System.Drawing.Point(260, 346);
-            this.H_Param1.Margin = new System.Windows.Forms.Padding(4);
+            this.H_Param1.Location = new System.Drawing.Point(130, 173);
+            this.H_Param1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.H_Param1.Name = "H_Param1";
-            this.H_Param1.Size = new System.Drawing.Size(156, 31);
+            this.H_Param1.Size = new System.Drawing.Size(82, 18);
             this.H_Param1.TabIndex = 18;
             this.H_Param1.Text = "H_Param1";
             this.H_Param1.UseVisualStyleBackColor = true;
@@ -234,10 +234,10 @@
             // 
             this.M_Param1.AutoSize = true;
             this.M_Param1.Font = new System.Drawing.Font("宋体", 10F);
-            this.M_Param1.Location = new System.Drawing.Point(260, 266);
-            this.M_Param1.Margin = new System.Windows.Forms.Padding(4);
+            this.M_Param1.Location = new System.Drawing.Point(130, 133);
+            this.M_Param1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.M_Param1.Name = "M_Param1";
-            this.M_Param1.Size = new System.Drawing.Size(156, 31);
+            this.M_Param1.Size = new System.Drawing.Size(82, 18);
             this.M_Param1.TabIndex = 19;
             this.M_Param1.Text = "M_Param1";
             this.M_Param1.UseVisualStyleBackColor = true;
@@ -247,10 +247,10 @@
             // 
             this.label5.AutoSize = true;
             this.label5.Font = new System.Drawing.Font("宋体", 10F);
-            this.label5.Location = new System.Drawing.Point(22, 508);
-            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label5.Location = new System.Drawing.Point(11, 254);
+            this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(188, 27);
+            this.label5.Size = new System.Drawing.Size(98, 14);
             this.label5.TabIndex = 20;
             this.label5.Text = "首页打印方式:";
             // 
@@ -258,10 +258,10 @@
             // 
             this.label6.AutoSize = true;
             this.label6.Font = new System.Drawing.Font("宋体", 10F);
-            this.label6.Location = new System.Drawing.Point(22, 432);
-            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label6.Location = new System.Drawing.Point(11, 216);
+            this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(188, 27);
+            this.label6.Size = new System.Drawing.Size(98, 14);
             this.label6.TabIndex = 21;
             this.label6.Text = "打印分页方式:";
             // 
@@ -269,48 +269,51 @@
             // 
             this.BatchCode.AutoSize = true;
             this.BatchCode.Font = new System.Drawing.Font("宋体", 10F);
-            this.BatchCode.Location = new System.Drawing.Point(260, 432);
-            this.BatchCode.Margin = new System.Windows.Forms.Padding(4);
+            this.BatchCode.Location = new System.Drawing.Point(130, 216);
+            this.BatchCode.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.BatchCode.Name = "BatchCode";
-            this.BatchCode.Size = new System.Drawing.Size(124, 31);
+            this.BatchCode.Size = new System.Drawing.Size(67, 18);
             this.BatchCode.TabIndex = 22;
             this.BatchCode.Text = "扩散批";
             this.BatchCode.UseVisualStyleBackColor = true;
+            this.BatchCode.CheckedChanged += new System.EventHandler(this.BatchCode_CheckedChanged);
             // 
             // BoxCode
             // 
             this.BoxCode.AutoSize = true;
             this.BoxCode.Font = new System.Drawing.Font("宋体", 10F);
-            this.BoxCode.Location = new System.Drawing.Point(416, 432);
-            this.BoxCode.Margin = new System.Windows.Forms.Padding(4);
+            this.BoxCode.Location = new System.Drawing.Point(208, 216);
+            this.BoxCode.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.BoxCode.Name = "BoxCode";
-            this.BoxCode.Size = new System.Drawing.Size(97, 31);
+            this.BoxCode.Size = new System.Drawing.Size(53, 18);
             this.BoxCode.TabIndex = 23;
             this.BoxCode.Text = "盒号";
             this.BoxCode.UseVisualStyleBackColor = true;
+            this.BoxCode.CheckedChanged += new System.EventHandler(this.BatchCode_CheckedChanged);
             // 
             // FixRow
             // 
             this.FixRow.AutoSize = true;
             this.FixRow.Checked = true;
             this.FixRow.Font = new System.Drawing.Font("宋体", 10F);
-            this.FixRow.Location = new System.Drawing.Point(541, 430);
-            this.FixRow.Margin = new System.Windows.Forms.Padding(4);
+            this.FixRow.Location = new System.Drawing.Point(270, 215);
+            this.FixRow.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.FixRow.Name = "FixRow";
-            this.FixRow.Size = new System.Drawing.Size(151, 31);
+            this.FixRow.Size = new System.Drawing.Size(81, 18);
             this.FixRow.TabIndex = 24;
             this.FixRow.TabStop = true;
             this.FixRow.Text = "固定行号";
             this.FixRow.UseVisualStyleBackColor = true;
+            this.FixRow.CheckedChanged += new System.EventHandler(this.BatchCode_CheckedChanged);
             // 
             // label7
             // 
             this.label7.AutoSize = true;
             this.label7.Font = new System.Drawing.Font("宋体", 10F);
-            this.label7.Location = new System.Drawing.Point(689, 432);
-            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label7.Location = new System.Drawing.Point(344, 216);
+            this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(134, 27);
+            this.label7.Size = new System.Drawing.Size(70, 14);
             this.label7.TabIndex = 25;
             this.label7.Text = "分页行数:";
             // 
@@ -318,10 +321,10 @@
             // 
             this.FirstPage_WID.AutoSize = true;
             this.FirstPage_WID.Font = new System.Drawing.Font("宋体", 10F);
-            this.FirstPage_WID.Location = new System.Drawing.Point(260, 508);
-            this.FirstPage_WID.Margin = new System.Windows.Forms.Padding(4);
+            this.FirstPage_WID.Location = new System.Drawing.Point(130, 254);
+            this.FirstPage_WID.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.FirstPage_WID.Name = "FirstPage_WID";
-            this.FirstPage_WID.Size = new System.Drawing.Size(210, 31);
+            this.FirstPage_WID.Size = new System.Drawing.Size(110, 18);
             this.FirstPage_WID.TabIndex = 29;
             this.FirstPage_WID.Text = "打印Wafer id";
             this.FirstPage_WID.UseVisualStyleBackColor = true;
@@ -330,10 +333,10 @@
             // 
             this.FirstPage_YIELD.AutoSize = true;
             this.FirstPage_YIELD.Font = new System.Drawing.Font("宋体", 10F);
-            this.FirstPage_YIELD.Location = new System.Drawing.Point(488, 508);
-            this.FirstPage_YIELD.Margin = new System.Windows.Forms.Padding(4);
+            this.FirstPage_YIELD.Location = new System.Drawing.Point(244, 254);
+            this.FirstPage_YIELD.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.FirstPage_YIELD.Name = "FirstPage_YIELD";
-            this.FirstPage_YIELD.Size = new System.Drawing.Size(98, 31);
+            this.FirstPage_YIELD.Size = new System.Drawing.Size(54, 18);
             this.FirstPage_YIELD.TabIndex = 31;
             this.FirstPage_YIELD.Text = "良率";
             this.FirstPage_YIELD.UseVisualStyleBackColor = true;
@@ -342,20 +345,20 @@
             // 
             this.FirstPage_REMARK.AutoSize = true;
             this.FirstPage_REMARK.Font = new System.Drawing.Font("宋体", 10F);
-            this.FirstPage_REMARK.Location = new System.Drawing.Point(608, 508);
-            this.FirstPage_REMARK.Margin = new System.Windows.Forms.Padding(4);
+            this.FirstPage_REMARK.Location = new System.Drawing.Point(304, 254);
+            this.FirstPage_REMARK.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.FirstPage_REMARK.Name = "FirstPage_REMARK";
-            this.FirstPage_REMARK.Size = new System.Drawing.Size(98, 31);
+            this.FirstPage_REMARK.Size = new System.Drawing.Size(54, 18);
             this.FirstPage_REMARK.TabIndex = 32;
             this.FirstPage_REMARK.Text = "备注";
             this.FirstPage_REMARK.UseVisualStyleBackColor = true;
             // 
             // ExportSetting
             // 
-            this.ExportSetting.Location = new System.Drawing.Point(402, 640);
-            this.ExportSetting.Margin = new System.Windows.Forms.Padding(4);
+            this.ExportSetting.Location = new System.Drawing.Point(201, 320);
+            this.ExportSetting.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.ExportSetting.Name = "ExportSetting";
-            this.ExportSetting.Size = new System.Drawing.Size(160, 48);
+            this.ExportSetting.Size = new System.Drawing.Size(80, 24);
             this.ExportSetting.TabIndex = 33;
             this.ExportSetting.Text = "导出列配置";
             this.ExportSetting.UseVisualStyleBackColor = true;
@@ -365,10 +368,10 @@
             // 
             this.M_Param2.AutoSize = true;
             this.M_Param2.Font = new System.Drawing.Font("宋体", 10F);
-            this.M_Param2.Location = new System.Drawing.Point(488, 266);
-            this.M_Param2.Margin = new System.Windows.Forms.Padding(4);
+            this.M_Param2.Location = new System.Drawing.Point(244, 133);
+            this.M_Param2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.M_Param2.Name = "M_Param2";
-            this.M_Param2.Size = new System.Drawing.Size(156, 31);
+            this.M_Param2.Size = new System.Drawing.Size(82, 18);
             this.M_Param2.TabIndex = 34;
             this.M_Param2.Text = "M_Param2";
             this.M_Param2.UseVisualStyleBackColor = true;
@@ -378,10 +381,10 @@
             // 
             this.M_Param3.AutoSize = true;
             this.M_Param3.Font = new System.Drawing.Font("宋体", 10F);
-            this.M_Param3.Location = new System.Drawing.Point(700, 269);
-            this.M_Param3.Margin = new System.Windows.Forms.Padding(4);
+            this.M_Param3.Location = new System.Drawing.Point(350, 134);
+            this.M_Param3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.M_Param3.Name = "M_Param3";
-            this.M_Param3.Size = new System.Drawing.Size(156, 31);
+            this.M_Param3.Size = new System.Drawing.Size(82, 18);
             this.M_Param3.TabIndex = 35;
             this.M_Param3.Text = "M_Param3";
             this.M_Param3.UseVisualStyleBackColor = true;
@@ -391,10 +394,10 @@
             // 
             this.H_Param3.AutoSize = true;
             this.H_Param3.Font = new System.Drawing.Font("宋体", 10F);
-            this.H_Param3.Location = new System.Drawing.Point(700, 346);
-            this.H_Param3.Margin = new System.Windows.Forms.Padding(4);
+            this.H_Param3.Location = new System.Drawing.Point(350, 173);
+            this.H_Param3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.H_Param3.Name = "H_Param3";
-            this.H_Param3.Size = new System.Drawing.Size(156, 31);
+            this.H_Param3.Size = new System.Drawing.Size(82, 18);
             this.H_Param3.TabIndex = 36;
             this.H_Param3.Text = "H_Param3";
             this.H_Param3.UseVisualStyleBackColor = true;
@@ -404,10 +407,10 @@
             // 
             this.M_Param4.AutoSize = true;
             this.M_Param4.Font = new System.Drawing.Font("宋体", 10F);
-            this.M_Param4.Location = new System.Drawing.Point(904, 266);
-            this.M_Param4.Margin = new System.Windows.Forms.Padding(4);
+            this.M_Param4.Location = new System.Drawing.Point(452, 133);
+            this.M_Param4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.M_Param4.Name = "M_Param4";
-            this.M_Param4.Size = new System.Drawing.Size(156, 31);
+            this.M_Param4.Size = new System.Drawing.Size(82, 18);
             this.M_Param4.TabIndex = 37;
             this.M_Param4.Text = "M_Param4";
             this.M_Param4.UseVisualStyleBackColor = true;
@@ -417,10 +420,10 @@
             // 
             this.H_Param4.AutoSize = true;
             this.H_Param4.Font = new System.Drawing.Font("宋体", 10F);
-            this.H_Param4.Location = new System.Drawing.Point(904, 346);
-            this.H_Param4.Margin = new System.Windows.Forms.Padding(4);
+            this.H_Param4.Location = new System.Drawing.Point(452, 173);
+            this.H_Param4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.H_Param4.Name = "H_Param4";
-            this.H_Param4.Size = new System.Drawing.Size(156, 31);
+            this.H_Param4.Size = new System.Drawing.Size(82, 18);
             this.H_Param4.TabIndex = 38;
             this.H_Param4.Text = "H_Param4";
             this.H_Param4.UseVisualStyleBackColor = true;
@@ -430,10 +433,10 @@
             // 
             this.label8.AutoSize = true;
             this.label8.Font = new System.Drawing.Font("宋体", 10F);
-            this.label8.Location = new System.Drawing.Point(22, 581);
-            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label8.Location = new System.Drawing.Point(11, 290);
+            this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(134, 27);
+            this.label8.Size = new System.Drawing.Size(70, 14);
             this.label8.TabIndex = 39;
             this.label8.Text = "分档方式:";
             // 
@@ -442,10 +445,10 @@
             this.Rate.AutoSize = true;
             this.Rate.Checked = true;
             this.Rate.Font = new System.Drawing.Font("宋体", 10F);
-            this.Rate.Location = new System.Drawing.Point(23, 26);
-            this.Rate.Margin = new System.Windows.Forms.Padding(4);
+            this.Rate.Location = new System.Drawing.Point(12, 13);
+            this.Rate.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.Rate.Name = "Rate";
-            this.Rate.Size = new System.Drawing.Size(124, 31);
+            this.Rate.Size = new System.Drawing.Size(67, 18);
             this.Rate.TabIndex = 40;
             this.Rate.TabStop = true;
             this.Rate.Text = "百分比";
@@ -455,10 +458,10 @@
             // 
             this.Mount.AutoSize = true;
             this.Mount.Font = new System.Drawing.Font("宋体", 10F);
-            this.Mount.Location = new System.Drawing.Point(166, 28);
-            this.Mount.Margin = new System.Windows.Forms.Padding(4);
+            this.Mount.Location = new System.Drawing.Point(83, 14);
+            this.Mount.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.Mount.Name = "Mount";
-            this.Mount.Size = new System.Drawing.Size(97, 31);
+            this.Mount.Size = new System.Drawing.Size(53, 18);
             this.Mount.TabIndex = 41;
             this.Mount.Text = "数量";
             this.Mount.UseVisualStyleBackColor = true;
@@ -467,9 +470,11 @@
             // 
             this.groupBox1.Controls.Add(this.Rate);
             this.groupBox1.Controls.Add(this.Mount);
-            this.groupBox1.Location = new System.Drawing.Point(238, 553);
+            this.groupBox1.Location = new System.Drawing.Point(119, 276);
+            this.groupBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Size = new System.Drawing.Size(495, 67);
+            this.groupBox1.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.groupBox1.Size = new System.Drawing.Size(248, 34);
             this.groupBox1.TabIndex = 42;
             this.groupBox1.TabStop = false;
             this.groupBox1.Paint += new System.Windows.Forms.PaintEventHandler(this.groupBox1_Paint);
@@ -478,9 +483,11 @@
             // 
             this.groupBox2.Controls.Add(this.Chinese);
             this.groupBox2.Controls.Add(this.English);
-            this.groupBox2.Location = new System.Drawing.Point(238, 23);
+            this.groupBox2.Location = new System.Drawing.Point(119, 12);
+            this.groupBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.groupBox2.Name = "groupBox2";
-            this.groupBox2.Size = new System.Drawing.Size(495, 67);
+            this.groupBox2.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.groupBox2.Size = new System.Drawing.Size(248, 34);
             this.groupBox2.TabIndex = 43;
             this.groupBox2.TabStop = false;
             // 
@@ -489,10 +496,10 @@
             this.Chinese.AutoSize = true;
             this.Chinese.Checked = true;
             this.Chinese.Font = new System.Drawing.Font("宋体", 10F);
-            this.Chinese.Location = new System.Drawing.Point(23, 26);
-            this.Chinese.Margin = new System.Windows.Forms.Padding(4);
+            this.Chinese.Location = new System.Drawing.Point(12, 13);
+            this.Chinese.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.Chinese.Name = "Chinese";
-            this.Chinese.Size = new System.Drawing.Size(97, 31);
+            this.Chinese.Size = new System.Drawing.Size(53, 18);
             this.Chinese.TabIndex = 40;
             this.Chinese.TabStop = true;
             this.Chinese.Text = "中文";
@@ -502,10 +509,10 @@
             // 
             this.English.AutoSize = true;
             this.English.Font = new System.Drawing.Font("宋体", 10F);
-            this.English.Location = new System.Drawing.Point(166, 28);
-            this.English.Margin = new System.Windows.Forms.Padding(4);
+            this.English.Location = new System.Drawing.Point(83, 14);
+            this.English.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.English.Name = "English";
-            this.English.Size = new System.Drawing.Size(97, 31);
+            this.English.Size = new System.Drawing.Size(53, 18);
             this.English.TabIndex = 41;
             this.English.Text = "英文";
             this.English.UseVisualStyleBackColor = true;
@@ -514,10 +521,10 @@
             // 
             this.CH_YIELD.AutoSize = true;
             this.CH_YIELD.Font = new System.Drawing.Font("宋体", 10F);
-            this.CH_YIELD.Location = new System.Drawing.Point(700, 188);
-            this.CH_YIELD.Margin = new System.Windows.Forms.Padding(4);
+            this.CH_YIELD.Location = new System.Drawing.Point(350, 94);
+            this.CH_YIELD.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.CH_YIELD.Name = "CH_YIELD";
-            this.CH_YIELD.Size = new System.Drawing.Size(98, 31);
+            this.CH_YIELD.Size = new System.Drawing.Size(54, 18);
             this.CH_YIELD.TabIndex = 44;
             this.CH_YIELD.Text = "良率";
             this.CH_YIELD.UseVisualStyleBackColor = true;
@@ -526,10 +533,10 @@
             // 
             this.FirstPage_BOXCODE.AutoSize = true;
             this.FirstPage_BOXCODE.Font = new System.Drawing.Font("宋体", 10F);
-            this.FirstPage_BOXCODE.Location = new System.Drawing.Point(734, 508);
-            this.FirstPage_BOXCODE.Margin = new System.Windows.Forms.Padding(4);
+            this.FirstPage_BOXCODE.Location = new System.Drawing.Point(367, 254);
+            this.FirstPage_BOXCODE.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.FirstPage_BOXCODE.Name = "FirstPage_BOXCODE";
-            this.FirstPage_BOXCODE.Size = new System.Drawing.Size(98, 31);
+            this.FirstPage_BOXCODE.Size = new System.Drawing.Size(54, 18);
             this.FirstPage_BOXCODE.TabIndex = 45;
             this.FirstPage_BOXCODE.Text = "盒号";
             this.FirstPage_BOXCODE.UseVisualStyleBackColor = true;
@@ -538,29 +545,30 @@
             // 
             this.BoxSplit.AutoSize = true;
             this.BoxSplit.Font = new System.Drawing.Font("宋体", 10F);
-            this.BoxSplit.Location = new System.Drawing.Point(964, 432);
-            this.BoxSplit.Margin = new System.Windows.Forms.Padding(4);
+            this.BoxSplit.Location = new System.Drawing.Point(482, 216);
+            this.BoxSplit.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.BoxSplit.Name = "BoxSplit";
-            this.BoxSplit.Size = new System.Drawing.Size(151, 31);
+            this.BoxSplit.Size = new System.Drawing.Size(81, 18);
             this.BoxSplit.TabIndex = 46;
             this.BoxSplit.Text = "盒号拆批";
             this.BoxSplit.UseVisualStyleBackColor = true;
+            this.BoxSplit.CheckedChanged += new System.EventHandler(this.BatchCode_CheckedChanged);
             // 
             // RowNum
             // 
-            this.RowNum.Location = new System.Drawing.Point(843, 428);
-            this.RowNum.Margin = new System.Windows.Forms.Padding(4);
+            this.RowNum.Location = new System.Drawing.Point(422, 214);
+            this.RowNum.Margin = new System.Windows.Forms.Padding(2);
             this.RowNum.Name = "RowNum";
             this.RowNum.Negative = false;
-            this.RowNum.Size = new System.Drawing.Size(100, 35);
+            this.RowNum.Size = new System.Drawing.Size(52, 21);
             this.RowNum.TabIndex = 30;
             this.RowNum.Text = "10";
             // 
             // ExportExcel
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(1144, 704);
+            this.ClientSize = new System.Drawing.Size(572, 352);
             this.Controls.Add(this.BoxSplit);
             this.Controls.Add(this.FirstPage_BOXCODE);
             this.Controls.Add(this.CH_YIELD);
@@ -597,7 +605,7 @@
             this.Controls.Add(this.CH_SPLITBATCH);
             this.Controls.Add(this.CH_BLUEFILM);
             this.Controls.Add(this.Export);
-            this.Margin = new System.Windows.Forms.Padding(4);
+            this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.Name = "ExportExcel";
             this.Text = "导出数据";
             this.Load += new System.EventHandler(this.ExportExcel_Load);

+ 26 - 1
UAS-出货标签管理(贸易版)/ExportExcel.cs

@@ -58,7 +58,7 @@ namespace UAS_LabelMachine
                     MessageBox.Show("勾选扩撒批分页,打印内容请勾选扩撒批号");
                     return;
                 }
-                if ((!CH_SPLITBATCH.Checked||!CH_PBCODE.Checked )&& BoxSplit.Checked)
+                if ((!CH_SPLITBATCH.Checked || !CH_PBCODE.Checked) && BoxSplit.Checked)
                 {
                     MessageBox.Show("勾选盒号拆批,打印内容请勾选扩撒批号和盒号");
                     return;
@@ -244,5 +244,30 @@ namespace UAS_LabelMachine
         {
             e.Graphics.Clear(this.BackColor);
         }
+
+        private void BatchCode_CheckedChanged(object sender, EventArgs e)
+        {
+            RadioButton box = (RadioButton)sender;
+            if (box.Checked)
+            {
+                switch (box.Name)
+                {
+                    case "BatchCode":
+                        CH_SPLITBATCH.Checked = true;
+                        break;
+                    case "BoxCode":
+                        CH_PBCODE.Checked = true;
+                        break;
+                    case "FixRow":
+                        break;
+                    case "BoxSplit":
+                        CH_SPLITBATCH.Checked = true;
+                        CH_PBCODE.Checked = true;
+                        break;
+                    default:
+                        break;
+                }
+            }
+        }
     }
 }