From 2576d7c9c25031a7478dfc4795cc1c02019f7368 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 02 四月 2025 16:57:53 +0800 Subject: [PATCH] 现场 --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 110 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 99 insertions(+), 11 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index 0df2520..a8e7467 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -28,32 +28,120 @@ /// </summary> private void InitializeComponent() { - this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); + this.tlMenu = new DevExpress.XtraTreeList.TreeList(); + this.tlcModuleID = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcMenuName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcMenuCaption = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcActions = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcParentMenuName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcMenuType = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).BeginInit(); this.SuspendLayout(); // - // simpleButton1 + // tlMenu // - this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.announcement_32x32; - this.simpleButton1.Location = new System.Drawing.Point(343, 110); - this.simpleButton1.Name = "simpleButton1"; - this.simpleButton1.Size = new System.Drawing.Size(247, 29); - this.simpleButton1.TabIndex = 0; - this.simpleButton1.Text = "simpleButton1"; + this.tlMenu.Appearance.Row.Options.UseFont = true; + this.tlMenu.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { + this.tlcModuleID, + this.tlcMenuName, + this.tlcMenuCaption, + this.tlcActions, + this.tlcParentMenuName, + this.tlcMenuType}); + this.tlMenu.Cursor = System.Windows.Forms.Cursors.Default; + this.tlMenu.Dock = System.Windows.Forms.DockStyle.Fill; + this.tlMenu.Location = new System.Drawing.Point(0, 0); + this.tlMenu.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tlMenu.MinWidth = 23; + this.tlMenu.Name = "tlMenu"; + this.tlMenu.OptionsView.CheckBoxStyle = DevExpress.XtraTreeList.DefaultNodeCheckBoxStyle.Check; + this.tlMenu.OptionsView.RootCheckBoxStyle = DevExpress.XtraTreeList.NodeCheckBoxStyle.None; + this.tlMenu.OptionsView.TreeLineStyle = DevExpress.XtraTreeList.LineStyle.Solid; + this.tlMenu.Size = new System.Drawing.Size(887, 659); + this.tlMenu.TabIndex = 4; + this.tlMenu.TreeLevelWidth = 21; + // + // tlcModuleID + // + this.tlcModuleID.Caption = "guid"; + this.tlcModuleID.FieldName = "guid"; + this.tlcModuleID.MinWidth = 23; + this.tlcModuleID.Name = "tlcModuleID"; + this.tlcModuleID.Visible = true; + this.tlcModuleID.VisibleIndex = 0; + this.tlcModuleID.Width = 103; + // + // tlcMenuName + // + this.tlcMenuName.Caption = "鑿滃崟鍚嶇О"; + this.tlcMenuName.FieldName = "name"; + this.tlcMenuName.MinWidth = 38; + this.tlcMenuName.Name = "tlcMenuName"; + this.tlcMenuName.Visible = true; + this.tlcMenuName.VisibleIndex = 1; + this.tlcMenuName.Width = 215; + // + // tlcMenuCaption + // + this.tlcMenuCaption.Caption = "鑿滃崟璺緞"; + this.tlcMenuCaption.FieldName = "formPath"; + this.tlcMenuCaption.MinWidth = 23; + this.tlcMenuCaption.Name = "tlcMenuCaption"; + this.tlcMenuCaption.Visible = true; + this.tlcMenuCaption.VisibleIndex = 2; + this.tlcMenuCaption.Width = 139; + // + // tlcActions + // + this.tlcActions.Caption = "鑿滃崟绫诲瀷"; + this.tlcActions.FieldName = "category"; + this.tlcActions.MinWidth = 23; + this.tlcActions.Name = "tlcActions"; + this.tlcActions.Visible = true; + this.tlcActions.VisibleIndex = 3; + this.tlcActions.Width = 50; + // + // tlcParentMenuName + // + this.tlcParentMenuName.Caption = "鐘舵��"; + this.tlcParentMenuName.FieldName = "isStatus"; + this.tlcParentMenuName.MinWidth = 23; + this.tlcParentMenuName.Name = "tlcParentMenuName"; + this.tlcParentMenuName.Visible = true; + this.tlcParentMenuName.VisibleIndex = 4; + this.tlcParentMenuName.Width = 64; + // + // tlcMenuType + // + this.tlcMenuType.Caption = "鎺掑簭鍙�"; + this.tlcMenuType.FieldName = "idx"; + this.tlcMenuType.MinWidth = 23; + this.tlcMenuType.Name = "tlcMenuType"; + this.tlcMenuType.Visible = true; + this.tlcMenuType.VisibleIndex = 5; + this.tlcMenuType.Width = 50; // // XtraForm1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(767, 418); - this.Controls.Add(this.simpleButton1); + this.ClientSize = new System.Drawing.Size(887, 659); + this.Controls.Add(this.tlMenu); this.Name = "XtraForm1"; this.Text = "XtraForm1"; + ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).EndInit(); this.ResumeLayout(false); } #endregion - private DevExpress.XtraEditors.SimpleButton simpleButton1; + private DevExpress.XtraTreeList.TreeList tlMenu; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcModuleID; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuName; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuCaption; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcActions; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcParentMenuName; + private DevExpress.XtraTreeList.Columns.TreeListColumn tlcMenuType; } } \ No newline at end of file -- Gitblit v1.9.3