From 90c199edf9c98a66f0ba3f42577bff797073fce1 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期日, 13 四月 2025 17:11:12 +0800
Subject: [PATCH] 打印按钮自动计算,选择窗体取消分页

---
 DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs |  123 ++++++++++++++++++++--------------------
 1 files changed, 62 insertions(+), 61 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs
index 157f8ea..92822dc 100644
--- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Womdaa.Designer.cs
@@ -220,8 +220,6 @@
             this.txt_zQty = new DevExpress.XtraEditors.TextEdit();
             this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
             this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem35 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -267,6 +265,8 @@
             this.panMx100 = new System.Windows.Forms.Panel();
             this.ucBtnPrint100 = new Gs.DevApp.UserControl.UcBtnPrint();
             this.tips = new DevExpress.Utils.ToolTipController(this.components);
+            this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
             this.xtraTabControl1.SuspendLayout();
             this.xtraTabPage1.SuspendLayout();
@@ -353,8 +353,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.txt_zQty.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem35)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit();
@@ -382,6 +380,8 @@
             ((System.ComponentModel.ISupportInitialize)(this.gcMx4)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.gvMx4)).BeginInit();
             this.panMx100.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit();
             this.SuspendLayout();
             // 
             // toolBarMenu1
@@ -1057,7 +1057,7 @@
             // 
             // txt_daa009
             // 
-            this.txt_daa009.Location = new System.Drawing.Point(420, 152);
+            this.txt_daa009.Location = new System.Drawing.Point(420, 147);
             this.txt_daa009.Name = "txt_daa009";
             this.txt_daa009.Properties.Appearance.Options.UseFont = true;
             this.txt_daa009.Size = new System.Drawing.Size(506, 24);
@@ -1067,7 +1067,7 @@
             // 
             // txt_daa013
             // 
-            this.txt_daa013.Location = new System.Drawing.Point(726, 124);
+            this.txt_daa013.Location = new System.Drawing.Point(726, 119);
             this.txt_daa013.Name = "txt_daa013";
             this.txt_daa013.Properties.Appearance.Options.UseFont = true;
             this.txt_daa013.Size = new System.Drawing.Size(200, 24);
@@ -1077,7 +1077,7 @@
             // 
             // txt_daa001
             // 
-            this.txt_daa001.Location = new System.Drawing.Point(114, 12);
+            this.txt_daa001.Location = new System.Drawing.Point(114, 7);
             this.txt_daa001.Name = "txt_daa001";
             this.txt_daa001.Properties.Appearance.Options.UseFont = true;
             this.txt_daa001.Size = new System.Drawing.Size(200, 24);
@@ -1087,7 +1087,7 @@
             // 
             // textEdit1
             // 
-            this.textEdit1.Location = new System.Drawing.Point(420, 40);
+            this.textEdit1.Location = new System.Drawing.Point(420, 35);
             this.textEdit1.Name = "textEdit1";
             this.textEdit1.Properties.Appearance.Options.UseFont = true;
             this.textEdit1.Size = new System.Drawing.Size(200, 24);
@@ -1097,7 +1097,7 @@
             // 
             // txt_daa008
             // 
-            this.txt_daa008.Location = new System.Drawing.Point(726, 12);
+            this.txt_daa008.Location = new System.Drawing.Point(726, 7);
             this.txt_daa008.Name = "txt_daa008";
             this.txt_daa008.Properties.Appearance.Options.UseFont = true;
             this.txt_daa008.Size = new System.Drawing.Size(200, 24);
@@ -1107,7 +1107,7 @@
             // 
             // txt_saleOrderNo
             // 
-            this.txt_saleOrderNo.Location = new System.Drawing.Point(114, 68);
+            this.txt_saleOrderNo.Location = new System.Drawing.Point(114, 63);
             this.txt_saleOrderNo.Name = "txt_saleOrderNo";
             this.txt_saleOrderNo.Properties.Appearance.Options.UseFont = true;
             this.txt_saleOrderNo.Size = new System.Drawing.Size(200, 24);
@@ -1117,7 +1117,7 @@
             // 
             // txt_daa028
             // 
-            this.txt_daa028.Location = new System.Drawing.Point(420, 68);
+            this.txt_daa028.Location = new System.Drawing.Point(420, 63);
             this.txt_daa028.Name = "txt_daa028";
             this.txt_daa028.Properties.Appearance.Options.UseFont = true;
             this.txt_daa028.Size = new System.Drawing.Size(200, 24);
@@ -1127,7 +1127,7 @@
             // 
             // txt_mesStartProd
             // 
-            this.txt_mesStartProd.Location = new System.Drawing.Point(1032, 40);
+            this.txt_mesStartProd.Location = new System.Drawing.Point(1032, 35);
             this.txt_mesStartProd.Name = "txt_mesStartProd";
             this.txt_mesStartProd.Properties.Appearance.Options.UseFont = true;
             this.txt_mesStartProd.Size = new System.Drawing.Size(202, 24);
@@ -1137,7 +1137,7 @@
             // 
             // txt_daa014
             // 
-            this.txt_daa014.Location = new System.Drawing.Point(114, 40);
+            this.txt_daa014.Location = new System.Drawing.Point(114, 35);
             this.txt_daa014.Name = "txt_daa014";
             this.txt_daa014.Properties.Appearance.Options.UseFont = true;
             this.txt_daa014.Size = new System.Drawing.Size(200, 24);
@@ -1147,7 +1147,7 @@
             // 
             // txt_daa022Remark
             // 
-            this.txt_daa022Remark.Location = new System.Drawing.Point(420, 12);
+            this.txt_daa022Remark.Location = new System.Drawing.Point(420, 7);
             this.txt_daa022Remark.Name = "txt_daa022Remark";
             this.txt_daa022Remark.Properties.Appearance.Options.UseFont = true;
             this.txt_daa022Remark.Size = new System.Drawing.Size(200, 24);
@@ -1157,7 +1157,7 @@
             // 
             // txt_daa010
             // 
-            this.txt_daa010.Location = new System.Drawing.Point(726, 40);
+            this.txt_daa010.Location = new System.Drawing.Point(726, 35);
             this.txt_daa010.Name = "txt_daa010";
             this.txt_daa010.Properties.Appearance.Options.UseFont = true;
             this.txt_daa010.Size = new System.Drawing.Size(200, 24);
@@ -1167,7 +1167,7 @@
             // 
             // txt_mesEndProd
             // 
-            this.txt_mesEndProd.Location = new System.Drawing.Point(1032, 68);
+            this.txt_mesEndProd.Location = new System.Drawing.Point(1032, 63);
             this.txt_mesEndProd.Name = "txt_mesEndProd";
             this.txt_mesEndProd.Properties.Appearance.Options.UseFont = true;
             this.txt_mesEndProd.Size = new System.Drawing.Size(202, 24);
@@ -1177,7 +1177,7 @@
             // 
             // txt_daa011
             // 
-            this.txt_daa011.Location = new System.Drawing.Point(726, 68);
+            this.txt_daa011.Location = new System.Drawing.Point(726, 63);
             this.txt_daa011.Name = "txt_daa011";
             this.txt_daa011.Properties.Appearance.Options.UseFont = true;
             this.txt_daa011.Size = new System.Drawing.Size(200, 24);
@@ -1187,7 +1187,7 @@
             // 
             // txt_dptName
             // 
-            this.txt_dptName.Location = new System.Drawing.Point(726, 96);
+            this.txt_dptName.Location = new System.Drawing.Point(726, 91);
             this.txt_dptName.Name = "txt_dptName";
             this.txt_dptName.Properties.Appearance.Options.UseFont = true;
             this.txt_dptName.Size = new System.Drawing.Size(200, 24);
@@ -1197,7 +1197,7 @@
             // 
             // txt_daa016
             // 
-            this.txt_daa016.Location = new System.Drawing.Point(1032, 96);
+            this.txt_daa016.Location = new System.Drawing.Point(1032, 91);
             this.txt_daa016.Name = "txt_daa016";
             this.txt_daa016.Properties.Appearance.Options.UseFont = true;
             this.txt_daa016.Size = new System.Drawing.Size(202, 24);
@@ -1207,7 +1207,7 @@
             // 
             // txt_daa029
             // 
-            this.txt_daa029.Location = new System.Drawing.Point(114, 96);
+            this.txt_daa029.Location = new System.Drawing.Point(114, 91);
             this.txt_daa029.Name = "txt_daa029";
             this.txt_daa029.Properties.Appearance.Options.UseFont = true;
             this.txt_daa029.Size = new System.Drawing.Size(200, 24);
@@ -1217,7 +1217,7 @@
             // 
             // txt_lineName
             // 
-            this.txt_lineName.Location = new System.Drawing.Point(420, 96);
+            this.txt_lineName.Location = new System.Drawing.Point(420, 91);
             this.txt_lineName.Name = "txt_lineName";
             this.txt_lineName.Properties.Appearance.Options.UseFont = true;
             this.txt_lineName.Size = new System.Drawing.Size(200, 24);
@@ -1227,7 +1227,7 @@
             // 
             // txt_daa017
             // 
-            this.txt_daa017.Location = new System.Drawing.Point(1032, 124);
+            this.txt_daa017.Location = new System.Drawing.Point(1032, 119);
             this.txt_daa017.Name = "txt_daa017";
             this.txt_daa017.Properties.Appearance.Options.UseFont = true;
             this.txt_daa017.Size = new System.Drawing.Size(202, 24);
@@ -1237,7 +1237,7 @@
             // 
             // txt_daa003
             // 
-            this.txt_daa003.Location = new System.Drawing.Point(114, 152);
+            this.txt_daa003.Location = new System.Drawing.Point(114, 147);
             this.txt_daa003.Name = "txt_daa003";
             this.txt_daa003.Properties.Appearance.Options.UseFont = true;
             this.txt_daa003.Size = new System.Drawing.Size(200, 24);
@@ -1247,7 +1247,7 @@
             // 
             // txt_dwName
             // 
-            this.txt_dwName.Location = new System.Drawing.Point(1032, 12);
+            this.txt_dwName.Location = new System.Drawing.Point(1032, 7);
             this.txt_dwName.Name = "txt_dwName";
             this.txt_dwName.Properties.Appearance.Options.UseFont = true;
             this.txt_dwName.Size = new System.Drawing.Size(202, 24);
@@ -1257,7 +1257,7 @@
             // 
             // txt_daa004
             // 
-            this.txt_daa004.Location = new System.Drawing.Point(114, 124);
+            this.txt_daa004.Location = new System.Drawing.Point(114, 119);
             this.txt_daa004.Name = "txt_daa004";
             this.txt_daa004.Properties.Appearance.Options.UseFont = true;
             this.txt_daa004.Size = new System.Drawing.Size(200, 24);
@@ -1267,7 +1267,7 @@
             // 
             // txt_daa015
             // 
-            this.txt_daa015.Location = new System.Drawing.Point(420, 124);
+            this.txt_daa015.Location = new System.Drawing.Point(420, 119);
             this.txt_daa015.Name = "txt_daa015";
             this.txt_daa015.Size = new System.Drawing.Size(200, 24);
             this.txt_daa015.StyleController = this.layoutMx1;
@@ -2253,6 +2253,7 @@
             this.txt_iCount_1.Location = new System.Drawing.Point(659, 43);
             this.txt_iCount_1.Name = "txt_iCount_1";
             this.txt_iCount_1.Properties.Appearance.Options.UseFont = true;
+            this.txt_iCount_1.Properties.ReadOnly = true;
             this.txt_iCount_1.Size = new System.Drawing.Size(189, 24);
             this.txt_iCount_1.StyleController = this.layoutMx99;
             this.txt_iCount_1.TabIndex = 332;
@@ -2260,7 +2261,7 @@
             // 
             // txt_psnQty_1
             // 
-            this.txt_psnQty_1.Location = new System.Drawing.Point(379, 43);
+            this.txt_psnQty_1.Location = new System.Drawing.Point(659, 12);
             this.txt_psnQty_1.Name = "txt_psnQty_1";
             this.txt_psnQty_1.Properties.Appearance.Options.UseFont = true;
             this.txt_psnQty_1.Size = new System.Drawing.Size(189, 24);
@@ -2270,7 +2271,7 @@
             // 
             // txt_printRemark
             // 
-            this.txt_printRemark.Location = new System.Drawing.Point(659, 12);
+            this.txt_printRemark.Location = new System.Drawing.Point(379, 43);
             this.txt_printRemark.Name = "txt_printRemark";
             this.txt_printRemark.Properties.Appearance.Options.UseFont = true;
             this.txt_printRemark.Size = new System.Drawing.Size(189, 24);
@@ -2316,13 +2317,13 @@
             this.layoutControlGroup1.GroupBordersVisible = false;
             this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
             this.layoutControlItem23,
-            this.layoutControlItem21,
-            this.layoutControlItem24,
             this.layoutControlItem25,
             this.layoutControlItem35,
             this.layoutControlItem26,
             this.layoutControlItem22,
-            this.layoutControlItem36});
+            this.layoutControlItem36,
+            this.layoutControlItem21,
+            this.layoutControlItem24});
             this.layoutControlGroup1.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
             this.layoutControlGroup1.Name = "Root";
             columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent;
@@ -2362,32 +2363,6 @@
             this.layoutControlItem23.Size = new System.Drawing.Size(280, 31);
             this.layoutControlItem23.Text = "鍙墦鍗版暟閲�";
             this.layoutControlItem23.TextSize = new System.Drawing.Size(75, 18);
-            // 
-            // layoutControlItem21
-            // 
-            this.layoutControlItem21.AppearanceItemCaption.Options.UseTextOptions = true;
-            this.layoutControlItem21.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            this.layoutControlItem21.Control = this.txt_printRemark;
-            this.layoutControlItem21.Location = new System.Drawing.Point(560, 0);
-            this.layoutControlItem21.Name = "layoutControlItem21";
-            this.layoutControlItem21.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.layoutControlItem21.Size = new System.Drawing.Size(280, 31);
-            this.layoutControlItem21.Text = "鎵撳嵃澶囨敞";
-            this.layoutControlItem21.TextSize = new System.Drawing.Size(75, 18);
-            // 
-            // layoutControlItem24
-            // 
-            this.layoutControlItem24.AppearanceItemCaption.Options.UseTextOptions = true;
-            this.layoutControlItem24.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
-            this.layoutControlItem24.Control = this.txt_psnQty_1;
-            this.layoutControlItem24.CustomizationFormText = "鍐呭寘瑁呮暟閲�";
-            this.layoutControlItem24.Location = new System.Drawing.Point(280, 31);
-            this.layoutControlItem24.Name = "layoutControlItem24";
-            this.layoutControlItem24.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem24.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem24.Size = new System.Drawing.Size(280, 31);
-            this.layoutControlItem24.Text = "鍐呭寘瑁呮暟閲�";
-            this.layoutControlItem24.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem25
             // 
@@ -2912,6 +2887,32 @@
             this.ucBtnPrint100.Size = new System.Drawing.Size(232, 32);
             this.ucBtnPrint100.TabIndex = 0;
             // 
+            // layoutControlItem21
+            // 
+            this.layoutControlItem21.AppearanceItemCaption.Options.UseTextOptions = true;
+            this.layoutControlItem21.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            this.layoutControlItem21.Control = this.txt_printRemark;
+            this.layoutControlItem21.Location = new System.Drawing.Point(280, 31);
+            this.layoutControlItem21.Name = "layoutControlItem21";
+            this.layoutControlItem21.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem21.OptionsTableLayoutItem.RowIndex = 1;
+            this.layoutControlItem21.Size = new System.Drawing.Size(280, 31);
+            this.layoutControlItem21.Text = "鎵撳嵃澶囨敞";
+            this.layoutControlItem21.TextSize = new System.Drawing.Size(75, 18);
+            // 
+            // layoutControlItem24
+            // 
+            this.layoutControlItem24.AppearanceItemCaption.Options.UseTextOptions = true;
+            this.layoutControlItem24.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            this.layoutControlItem24.Control = this.txt_psnQty_1;
+            this.layoutControlItem24.CustomizationFormText = "鍐呭寘瑁呮暟閲�";
+            this.layoutControlItem24.Location = new System.Drawing.Point(560, 0);
+            this.layoutControlItem24.Name = "layoutControlItem24";
+            this.layoutControlItem24.OptionsTableLayoutItem.ColumnIndex = 2;
+            this.layoutControlItem24.Size = new System.Drawing.Size(280, 31);
+            this.layoutControlItem24.Text = "鍐呭寘瑁呮暟閲�";
+            this.layoutControlItem24.TextSize = new System.Drawing.Size(75, 18);
+            // 
             // Frm_Womdaa
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
@@ -3007,8 +3008,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.txt_zQty.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem35)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit();
@@ -3036,6 +3035,8 @@
             ((System.ComponentModel.ISupportInitialize)(this.gcMx4)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.gvMx4)).EndInit();
             this.panMx100.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit();
             this.ResumeLayout(false);
 
         }
@@ -3220,8 +3221,6 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem20;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem18;
         private DevExpress.XtraEditors.RadioGroup radOut;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem21;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem24;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem25;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem35;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem26;
@@ -3248,5 +3247,7 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem31;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem30;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem37;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem21;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem24;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3