From f23d33d0cf77a73d449cd7c38effda9e50c8fda4 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 06 三月 2025 08:13:37 +0800 Subject: [PATCH] 版面 --- DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs | 315 +++++++++++++++++++++++++++++++++------------------- 1 files changed, 199 insertions(+), 116 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs index 7f7335c..f9b45eb 100644 --- a/DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/XtraForm1.Designer.cs @@ -28,160 +28,243 @@ /// </summary> private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); - this.dockPanel6 = new DevExpress.XtraBars.Docking.DockPanel(); - this.dockPanel6_Container = new DevExpress.XtraBars.Docking.ControlContainer(); - this.panTuo = new DevExpress.XtraEditors.PanelControl(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); + this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); + this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); - this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); - this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); - this.lbMsg = new DevExpress.XtraEditors.LabelControl(); - this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); - this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); - ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); - this.dockPanel6.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.panTuo)).BeginInit(); - this.panTuo.SuspendLayout(); + this.textEdit2 = new DevExpress.XtraEditors.TextEdit(); + this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); + this.dateEdit1 = new DevExpress.XtraEditors.DateEdit(); + this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); + this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + this.button1 = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel1)).BeginInit(); + this.splitContainerControl1.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel2)).BeginInit(); + this.splitContainerControl1.Panel2.SuspendLayout(); + this.splitContainerControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); + this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); - this.panelControl1.SuspendLayout(); - this.dockPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); this.SuspendLayout(); // - // dockManager1 + // splitContainerControl1 // - this.dockManager1.Form = this; - this.dockManager1.HiddenPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { - this.dockPanel6}); - this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { - this.dockPanel1}); - this.dockManager1.TopZIndexControls.AddRange(new string[] { - "DevExpress.XtraBars.BarDockControl", - "DevExpress.XtraBars.StandaloneBarDockControl", - "System.Windows.Forms.MenuStrip", - "System.Windows.Forms.StatusStrip", - "System.Windows.Forms.StatusBar", - "DevExpress.XtraBars.Ribbon.RibbonStatusBar", - "DevExpress.XtraBars.Ribbon.RibbonControl", - "DevExpress.XtraBars.Navigation.OfficeNavigationBar", - "DevExpress.XtraBars.Navigation.TileNavPane", - "DevExpress.XtraBars.TabFormControl", - "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", - "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl"}); + this.splitContainerControl1.Collapsed = true; + this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel1; + this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainerControl1.Horizontal = false; + this.splitContainerControl1.Location = new System.Drawing.Point(0, 0); + this.splitContainerControl1.Name = "splitContainerControl1"; // - // dockPanel6 + // splitContainerControl1.Panel1 // - this.dockPanel6.Controls.Add(this.dockPanel6_Container); - this.dockPanel6.Dock = DevExpress.XtraBars.Docking.DockingStyle.Float; - this.dockPanel6.ID = new System.Guid("d1ecdb58-0d2a-4534-939d-21df5f7ede56"); - this.dockPanel6.Location = new System.Drawing.Point(-32768, -32768); - this.dockPanel6.Name = "dockPanel6"; - this.dockPanel6.OriginalSize = new System.Drawing.Size(200, 200); - this.dockPanel6.SavedIndex = 5; - this.dockPanel6.Size = new System.Drawing.Size(200, 200); - this.dockPanel6.Text = "dockPanel6"; - this.dockPanel6.Visibility = DevExpress.XtraBars.Docking.DockVisibility.Hidden; + this.splitContainerControl1.Panel1.AutoScroll = true; + this.splitContainerControl1.Panel1.Controls.Add(this.layoutControl1); + this.splitContainerControl1.Panel1.Text = "Panel1"; // - // dockPanel6_Container + // splitContainerControl1.Panel2 // - this.dockPanel6_Container.Location = new System.Drawing.Point(5, 32); - this.dockPanel6_Container.Name = "dockPanel6_Container"; - this.dockPanel6_Container.Size = new System.Drawing.Size(190, 164); - this.dockPanel6_Container.TabIndex = 0; + this.splitContainerControl1.Panel2.Controls.Add(this.button1); + this.splitContainerControl1.Panel2.Text = "Panel2"; + this.splitContainerControl1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; + this.splitContainerControl1.Size = new System.Drawing.Size(1057, 660); + this.splitContainerControl1.SplitterPosition = 76; + this.splitContainerControl1.TabIndex = 0; // - // panTuo + // layoutControl1 // - this.panTuo.Controls.Add(this.textEdit1); - this.panTuo.Controls.Add(this.labelControl1); - this.panTuo.Location = new System.Drawing.Point(74, 52); - this.panTuo.Name = "panTuo"; - this.panTuo.Size = new System.Drawing.Size(276, 100); - this.panTuo.TabIndex = 0; + this.layoutControl1.AutoScroll = false; + this.layoutControl1.Controls.Add(this.textEdit1); + this.layoutControl1.Controls.Add(this.textEdit2); + this.layoutControl1.Controls.Add(this.simpleButton1); + this.layoutControl1.Controls.Add(this.dateEdit1); + this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.layoutControl1.Location = new System.Drawing.Point(0, 0); + this.layoutControl1.Name = "layoutControl1"; + this.layoutControl1.OptionsCustomizationForm.DefaultPage = DevExpress.XtraLayout.CustomizationPage.LayoutTreeView; + this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1108, 0, 812, 500); + this.layoutControl1.OptionsCustomizationForm.SnapMode = DevExpress.Utils.Controls.SnapMode.OwnerControl; + this.layoutControl1.Root = this.Root; + this.layoutControl1.Size = new System.Drawing.Size(0, 0); + this.layoutControl1.TabIndex = 0; + this.layoutControl1.Text = "layoutControl1"; // // textEdit1 // - this.textEdit1.Location = new System.Drawing.Point(108, 26); + this.textEdit1.Location = new System.Drawing.Point(148, 12); this.textEdit1.Name = "textEdit1"; - this.textEdit1.Size = new System.Drawing.Size(125, 24); - this.textEdit1.TabIndex = 1; + this.textEdit1.Size = new System.Drawing.Size(62, 24); + this.textEdit1.StyleController = this.layoutControl1; + this.textEdit1.TabIndex = 4; // - // labelControl1 + // textEdit2 // - this.labelControl1.Location = new System.Drawing.Point(20, 34); - this.labelControl1.Name = "labelControl1"; - this.labelControl1.Size = new System.Drawing.Size(81, 18); - this.labelControl1.TabIndex = 0; - this.labelControl1.Text = "labelControl1"; + this.textEdit2.Location = new System.Drawing.Point(350, 12); + this.textEdit2.Name = "textEdit2"; + this.textEdit2.Size = new System.Drawing.Size(62, 24); + this.textEdit2.StyleController = this.layoutControl1; + this.textEdit2.TabIndex = 5; // - // panelControl1 + // simpleButton1 // - this.panelControl1.Controls.Add(this.panTuo); - this.panelControl1.Location = new System.Drawing.Point(46, 69); - this.panelControl1.Name = "panelControl1"; - this.panelControl1.Size = new System.Drawing.Size(482, 310); - this.panelControl1.TabIndex = 4; + this.simpleButton1.Location = new System.Drawing.Point(12, 43); + this.simpleButton1.Name = "simpleButton1"; + this.simpleButton1.Size = new System.Drawing.Size(198, 27); + this.simpleButton1.StyleController = this.layoutControl1; + this.simpleButton1.TabIndex = 6; + this.simpleButton1.Text = "simpleButton1"; // - // lbMsg + // dateEdit1 // - this.lbMsg.Location = new System.Drawing.Point(46, 28); - this.lbMsg.Name = "lbMsg"; - this.lbMsg.Size = new System.Drawing.Size(81, 18); - this.lbMsg.TabIndex = 5; - this.lbMsg.Text = "labelControl2"; + this.dateEdit1.EditValue = null; + this.dateEdit1.Location = new System.Drawing.Point(350, 43); + this.dateEdit1.Name = "dateEdit1"; + this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.dateEdit1.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.dateEdit1.Size = new System.Drawing.Size(62, 24); + this.dateEdit1.StyleController = this.layoutControl1; + this.dateEdit1.TabIndex = 7; // - // dockPanel1 + // Root // - this.dockPanel1.Controls.Add(this.dockPanel1_Container); - this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; - this.dockPanel1.ID = new System.Guid("8abce80a-c8c2-4696-95f4-0ce4b3b63096"); - this.dockPanel1.Location = new System.Drawing.Point(714, 0); - this.dockPanel1.Name = "dockPanel1"; - this.dockPanel1.OriginalSize = new System.Drawing.Size(200, 200); - this.dockPanel1.Size = new System.Drawing.Size(200, 553); - this.dockPanel1.Text = "dockPanel1"; + this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + this.Root.GroupBordersVisible = false; + this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem1, + this.layoutControlItem3, + this.layoutControlItem4, + this.layoutControlItem2}); + this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; + this.Root.Name = "Root"; + columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition1.Width = 100D; + columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition2.Width = 100D; + this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { + columnDefinition1, + columnDefinition2}); + rowDefinition1.Height = 100D; + rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition2.Height = 100D; + rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition3.Height = 20D; + rowDefinition3.SizeType = System.Windows.Forms.SizeType.AutoSize; + this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { + rowDefinition1, + rowDefinition2, + rowDefinition3}); + this.Root.Size = new System.Drawing.Size(424, 102); + this.Root.TextVisible = false; // - // dockPanel1_Container + // layoutControlItem1 // - this.dockPanel1_Container.Location = new System.Drawing.Point(6, 32); - this.dockPanel1_Container.Name = "dockPanel1_Container"; - this.dockPanel1_Container.Size = new System.Drawing.Size(190, 517); - this.dockPanel1_Container.TabIndex = 0; + this.layoutControlItem1.Control = this.textEdit1; + this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); + this.layoutControlItem1.Name = "layoutControlItem1"; + this.layoutControlItem1.Size = new System.Drawing.Size(202, 31); + this.layoutControlItem1.TextSize = new System.Drawing.Size(124, 18); + // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.simpleButton1; + this.layoutControlItem3.Location = new System.Drawing.Point(0, 31); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.OptionsTableLayoutItem.RowIndex = 1; + this.layoutControlItem3.Size = new System.Drawing.Size(202, 31); + this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem3.TextVisible = false; + // + // layoutControlItem4 + // + this.layoutControlItem4.Control = this.dateEdit1; + this.layoutControlItem4.Location = new System.Drawing.Point(202, 31); + this.layoutControlItem4.Name = "layoutControlItem4"; + this.layoutControlItem4.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; + this.layoutControlItem4.Size = new System.Drawing.Size(202, 31); + this.layoutControlItem4.TextSize = new System.Drawing.Size(124, 18); + // + // layoutControlItem2 + // + this.layoutControlItem2.Control = this.textEdit2; + this.layoutControlItem2.Location = new System.Drawing.Point(202, 0); + this.layoutControlItem2.Name = "layoutControlItem2"; + this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem2.Size = new System.Drawing.Size(202, 31); + this.layoutControlItem2.TextSize = new System.Drawing.Size(124, 18); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(346, 110); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 0; + this.button1.Text = "button1"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); // // XtraForm1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(914, 553); - this.Controls.Add(this.lbMsg); - this.Controls.Add(this.panelControl1); - this.Controls.Add(this.dockPanel1); + this.ClientSize = new System.Drawing.Size(1057, 660); + this.Controls.Add(this.splitContainerControl1); this.Name = "XtraForm1"; this.Text = "XtraForm1"; - ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); - this.dockPanel6.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.panTuo)).EndInit(); - this.panTuo.ResumeLayout(false); - this.panTuo.PerformLayout(); + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel1)).EndInit(); + this.splitContainerControl1.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1.Panel2)).EndInit(); + this.splitContainerControl1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); + this.splitContainerControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); + this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); - this.panelControl1.ResumeLayout(false); - this.dockPanel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); this.ResumeLayout(false); - this.PerformLayout(); } #endregion - private DevExpress.XtraBars.Docking.DockManager dockManager1; - private DevExpress.XtraBars.Docking.DockPanel dockPanel6; - private DevExpress.XtraBars.Docking.ControlContainer dockPanel6_Container; - private DevExpress.XtraEditors.PanelControl panTuo; + + private DevExpress.XtraEditors.SplitContainerControl splitContainerControl1; + private DevExpress.XtraLayout.LayoutControl layoutControl1; private DevExpress.XtraEditors.TextEdit textEdit1; - private DevExpress.XtraEditors.LabelControl labelControl1; - private DevExpress.XtraEditors.PanelControl panelControl1; - private DevExpress.XtraEditors.LabelControl lbMsg; - private DevExpress.XtraBars.Docking.DockPanel dockPanel1; - private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; + private DevExpress.XtraEditors.TextEdit textEdit2; + private DevExpress.XtraEditors.SimpleButton simpleButton1; + private DevExpress.XtraEditors.DateEdit dateEdit1; + private DevExpress.XtraLayout.LayoutControlGroup Root; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private System.Windows.Forms.Button button1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; } } \ No newline at end of file -- Gitblit v1.9.3