From b084bd77d01a94c8f0a2d20c86a1f45ba7c8a23c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 19 四月 2025 14:08:05 +0800 Subject: [PATCH] 页面跳转 --- DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs | 103 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 93 insertions(+), 10 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs index 80942ee..bd05385 100644 --- a/DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/UcBtnPrint.Designer.cs @@ -28,41 +28,120 @@ /// </summary> private void InitializeComponent() { + 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.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); + this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem2 = 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(); this.SuspendLayout(); // // btnReport // - this.btnReport.Dock = System.Windows.Forms.DockStyle.Right; this.btnReport.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.printernetwork_16x16; - this.btnReport.Location = new System.Drawing.Point(138, 0); - this.btnReport.Margin = new System.Windows.Forms.Padding(0); + 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(94, 36); + 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.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.Root = this.layoutControlGroup1; + this.layoutControl2.Size = new System.Drawing.Size(232, 32); + this.layoutControl2.TabIndex = 6; + this.layoutControl2.Text = "layoutControl2"; + // // btnDesign // - this.btnDesign.Dock = System.Windows.Forms.DockStyle.Left; this.btnDesign.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.richeditcleartablestyle_16x16; - this.btnDesign.Location = new System.Drawing.Point(0, 0); + 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(94, 36); + this.btnDesign.Size = new System.Drawing.Size(96, 27); + this.btnDesign.StyleController = this.layoutControl2; this.btnDesign.TabIndex = 2; this.btnDesign.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.layoutControlGroup1.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; + this.layoutControlGroup1.Name = "Root"; + columnDefinition1.SizeType = System.Windows.Forms.SizeType.AutoSize; + columnDefinition1.Width = 100D; + columnDefinition2.SizeType = System.Windows.Forms.SizeType.AutoSize; + columnDefinition2.Width = 132D; + this.layoutControlGroup1.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { + columnDefinition1, + columnDefinition2}); + rowDefinition1.Height = 100D; + 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.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.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.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem2.TextVisible = false; // // UcBtnPrint // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.btnReport); - this.Controls.Add(this.btnDesign); + this.Controls.Add(this.layoutControl2); this.Margin = new System.Windows.Forms.Padding(0); this.Name = "UcBtnPrint"; - this.Size = new System.Drawing.Size(232, 36); + this.Size = new System.Drawing.Size(232, 32); + ((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(); this.ResumeLayout(false); } @@ -71,5 +150,9 @@ private DevExpress.XtraEditors.SimpleButton btnReport; private DevExpress.XtraEditors.SimpleButton btnDesign; + private DevExpress.XtraLayout.LayoutControl layoutControl2; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; } } -- Gitblit v1.9.3