From 98e93a53c3407b9785eba27faec13fe7afc1255b Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 20 六月 2025 16:55:46 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs | 108 ++++++++++++++++++++++++++--------------------------- 1 files changed, 53 insertions(+), 55 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs index bd05385..b8ab7dc 100644 --- a/DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs @@ -31,68 +31,68 @@ DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); - this.btnReport = new DevExpress.XtraEditors.SimpleButton(); this.layoutControl2 = new DevExpress.XtraLayout.LayoutControl(); - this.btnDesign = new DevExpress.XtraEditors.SimpleButton(); + this.btnPrint = new DevExpress.XtraEditors.SimpleButton(); + this.btnAll = new DevExpress.XtraEditors.SimpleButton(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).BeginInit(); this.layoutControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); this.SuspendLayout(); - // - // btnReport - // - this.btnReport.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.printernetwork_16x16; - this.btnReport.Location = new System.Drawing.Point(102, 2); - this.btnReport.Margin = new System.Windows.Forms.Padding(10, 0, 0, 0); - this.btnReport.Name = "btnReport"; - this.btnReport.Size = new System.Drawing.Size(96, 27); - this.btnReport.StyleController = this.layoutControl2; - this.btnReport.TabIndex = 3; - this.btnReport.Text = "纭畾鎵撳嵃"; // // layoutControl2 // - this.layoutControl2.Controls.Add(this.btnReport); - this.layoutControl2.Controls.Add(this.btnDesign); + this.layoutControl2.Controls.Add(this.btnPrint); + this.layoutControl2.Controls.Add(this.btnAll); this.layoutControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl2.Location = new System.Drawing.Point(0, 0); this.layoutControl2.Margin = new System.Windows.Forms.Padding(0); this.layoutControl2.Name = "layoutControl2"; this.layoutControl2.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(803, 337, 812, 500); + this.layoutControl2.Padding = new System.Windows.Forms.Padding(0, 1, 0, 0); this.layoutControl2.Root = this.layoutControlGroup1; this.layoutControl2.Size = new System.Drawing.Size(232, 32); this.layoutControl2.TabIndex = 6; this.layoutControl2.Text = "layoutControl2"; // - // btnDesign + // btnPrint // - this.btnDesign.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.richeditcleartablestyle_16x16; - this.btnDesign.Location = new System.Drawing.Point(2, 2); - this.btnDesign.Margin = new System.Windows.Forms.Padding(0); - this.btnDesign.Name = "btnDesign"; - this.btnDesign.Size = new System.Drawing.Size(96, 27); - this.btnDesign.StyleController = this.layoutControl2; - this.btnDesign.TabIndex = 2; - this.btnDesign.Text = "鎵撳嵃璁捐"; + this.btnPrint.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.printernetwork_16x16; + this.btnPrint.Location = new System.Drawing.Point(0, 2); + this.btnPrint.Margin = new System.Windows.Forms.Padding(10, 0, 0, 0); + this.btnPrint.Name = "btnPrint"; + this.btnPrint.Size = new System.Drawing.Size(116, 27); + this.btnPrint.StyleController = this.layoutControl2; + this.btnPrint.TabIndex = 3; + this.btnPrint.Text = "纭畾鎵撳嵃"; + // + // btnAll + // + this.btnAll.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.refreshpivottable_16x16; + this.btnAll.Location = new System.Drawing.Point(116, 2); + this.btnAll.Name = "btnAll"; + this.btnAll.Size = new System.Drawing.Size(116, 27); + this.btnAll.StyleController = this.layoutControl2; + this.btnAll.TabIndex = 4; + this.btnAll.Text = "鎵归噺鎿嶄綔"; // // layoutControlGroup1 // this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem1, - this.layoutControlItem2}); + this.layoutControlItem2, + this.layoutControlItem3}); this.layoutControlGroup1.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; this.layoutControlGroup1.Name = "Root"; - columnDefinition1.SizeType = System.Windows.Forms.SizeType.AutoSize; + columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition1.Width = 100D; - columnDefinition2.SizeType = System.Windows.Forms.SizeType.AutoSize; - columnDefinition2.Width = 132D; + columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition2.Width = 100D; this.layoutControlGroup1.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition1, columnDefinition2}); @@ -100,34 +100,32 @@ rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; this.layoutControlGroup1.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1}); - this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(232, 32); this.layoutControlGroup1.TextVisible = false; // - // layoutControlItem1 - // - this.layoutControlItem1.Control = this.btnDesign; - this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem1.MaxSize = new System.Drawing.Size(100, 31); - this.layoutControlItem1.MinSize = new System.Drawing.Size(90, 31); - this.layoutControlItem1.Name = "layoutControlItem1"; - this.layoutControlItem1.Size = new System.Drawing.Size(100, 32); - this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem1.TextVisible = false; - // // layoutControlItem2 // - this.layoutControlItem2.Control = this.btnReport; - this.layoutControlItem2.Location = new System.Drawing.Point(100, 0); - this.layoutControlItem2.MaxSize = new System.Drawing.Size(100, 31); - this.layoutControlItem2.MinSize = new System.Drawing.Size(90, 31); + this.layoutControlItem2.Control = this.btnPrint; + this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; - this.layoutControlItem2.Size = new System.Drawing.Size(132, 32); - this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + this.layoutControlItem2.Size = new System.Drawing.Size(116, 30); + this.layoutControlItem2.Text = "纭畾鎵撳嵃"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextVisible = false; + // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.btnAll; + this.layoutControlItem3.Location = new System.Drawing.Point(116, 0); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + this.layoutControlItem3.Size = new System.Drawing.Size(116, 30); + this.layoutControlItem3.Text = "鎵归噺鎿嶄綔"; + this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem3.TextVisible = false; // // UcBtnPrint // @@ -140,19 +138,19 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).EndInit(); this.layoutControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); this.ResumeLayout(false); } #endregion - private DevExpress.XtraEditors.SimpleButton btnReport; - private DevExpress.XtraEditors.SimpleButton btnDesign; + private DevExpress.XtraEditors.SimpleButton btnPrint; private DevExpress.XtraLayout.LayoutControl layoutControl2; private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraEditors.SimpleButton btnAll; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; } } -- Gitblit v1.9.3