From aa77240aba2a41a9a653f6400ed1ff54310f92d4 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 03 四月 2025 13:03:31 +0800 Subject: [PATCH] 字典 --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 140 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 135 insertions(+), 5 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index 0df2520..250ac14 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -28,32 +28,162 @@ /// </summary> private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + this.tlMenu = new DevExpress.XtraTreeList.TreeList(); + this.tlcModuleID = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcMenuCaption = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcMenuName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.tlcActions = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); + ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).BeginInit(); + this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); + // + // tlMenu + // + this.tlMenu.Appearance.Row.Options.UseFont = true; + this.tlMenu.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { + this.tlcModuleID, + this.tlcMenuCaption, + this.tlcMenuName, + this.tlcActions}); + this.tlMenu.Cursor = System.Windows.Forms.Cursors.Default; + this.tlMenu.Location = new System.Drawing.Point(0, 386); + this.tlMenu.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tlMenu.MinWidth = 23; + this.tlMenu.Name = "tlMenu"; + this.tlMenu.OptionsMenu.EnableColumnMenu = false; + this.tlMenu.OptionsMenu.EnableFooterMenu = false; + this.tlMenu.OptionsMenu.EnableNodeMenu = false; + this.tlMenu.OptionsMenu.ShowAddNodeItems = DevExpress.Utils.DefaultBoolean.False; + this.tlMenu.OptionsMenu.ShowAutoFilterRowItem = false; + this.tlMenu.OptionsMenu.ShowExpandCollapseItems = false; + 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, 273); + this.tlMenu.TabIndex = 4; + this.tlMenu.TreeLevelWidth = 21; + this.tlMenu.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tlMenu_MouseDown); + // + // 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; + // + // tlcMenuCaption + // + this.tlcMenuCaption.Caption = "缂栧彿"; + this.tlcMenuCaption.FieldName = "typeNo"; + this.tlcMenuCaption.MinWidth = 23; + this.tlcMenuCaption.Name = "tlcMenuCaption"; + this.tlcMenuCaption.Visible = true; + this.tlcMenuCaption.VisibleIndex = 1; + this.tlcMenuCaption.Width = 139; + // + // tlcMenuName + // + this.tlcMenuName.Caption = "鎻忚堪"; + this.tlcMenuName.FieldName = "typeMemo"; + this.tlcMenuName.MinWidth = 38; + this.tlcMenuName.Name = "tlcMenuName"; + this.tlcMenuName.Visible = true; + this.tlcMenuName.VisibleIndex = 2; + this.tlcMenuName.Width = 215; + // + // tlcActions + // + this.tlcActions.Caption = "绫诲瀷"; + this.tlcActions.FieldName = "typeCategory"; + this.tlcActions.MinWidth = 23; + this.tlcActions.Name = "tlcActions"; + this.tlcActions.Visible = true; + this.tlcActions.VisibleIndex = 3; + this.tlcActions.Width = 50; + // + // contextMenuStrip1 + // + this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripMenuItem1, + this.toolStripMenuItem2, + this.toolStripMenuItem3, + this.toolStripMenuItem4}); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(228, 100); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(227, 24); + this.toolStripMenuItem1.Text = "toolStripMenuItem1"; + this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(227, 24); + this.toolStripMenuItem2.Text = "toolStripMenuItem2"; + this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(227, 24); + this.toolStripMenuItem3.Text = "toolStripMenuItem3"; + // + // toolStripMenuItem4 + // + this.toolStripMenuItem4.Name = "toolStripMenuItem4"; + this.toolStripMenuItem4.Size = new System.Drawing.Size(227, 24); + this.toolStripMenuItem4.Text = "toolStripMenuItem4"; // // simpleButton1 // - this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.announcement_32x32; - this.simpleButton1.Location = new System.Drawing.Point(343, 110); + this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.statistical_16x16; + this.simpleButton1.Location = new System.Drawing.Point(243, 65); this.simpleButton1.Name = "simpleButton1"; - this.simpleButton1.Size = new System.Drawing.Size(247, 29); - this.simpleButton1.TabIndex = 0; + this.simpleButton1.Size = new System.Drawing.Size(94, 29); + this.simpleButton1.TabIndex = 5; this.simpleButton1.Text = "simpleButton1"; // // 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.ClientSize = new System.Drawing.Size(887, 659); this.Controls.Add(this.simpleButton1); + this.Controls.Add(this.tlMenu); this.Name = "XtraForm1"; this.Text = "XtraForm1"; + ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).EndInit(); + this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); } #endregion + 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 System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4; private DevExpress.XtraEditors.SimpleButton simpleButton1; } } \ No newline at end of file -- Gitblit v1.9.3