From db1141043a18e061f628b0fa164dd520d9c5941a Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 30 六月 2025 09:31:42 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/XtraForm1.Designer.cs | 223 ++++++++++++++++++++++++++++--------------------------- 1 files changed, 113 insertions(+), 110 deletions(-) diff --git a/DevApp/Gs.DevApp/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/XtraForm1.Designer.cs index b498e3d..b7e1014 100644 --- a/DevApp/Gs.DevApp/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/XtraForm1.Designer.cs @@ -29,150 +29,153 @@ 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(); - ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).BeginInit(); - this.contextMenuStrip1.SuspendLayout(); + this.dropDownButton1 = new DevExpress.XtraEditors.DropDownButton(); + this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); + this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); + this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); + this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); + this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); + this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); + this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); + this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); + this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); + this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); + this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); + ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // - // tlMenu + // dropDownButton1 // - 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.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.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, 659); - this.tlMenu.TabIndex = 4; - this.tlMenu.TreeLevelWidth = 21; - this.tlMenu.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tlMenu_MouseDown); + this.dropDownButton1.DropDownControl = this.popupMenu1; + this.dropDownButton1.Location = new System.Drawing.Point(238, 110); + this.dropDownButton1.Name = "dropDownButton1"; + this.dropDownButton1.Size = new System.Drawing.Size(154, 29); + this.dropDownButton1.TabIndex = 0; + this.dropDownButton1.Text = "dropDownButton1"; // - // tlcModuleID + // popupMenu1 // - 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; + this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { + new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), + new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), + new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), + new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); + this.popupMenu1.Manager = this.barManager1; + this.popupMenu1.Name = "popupMenu1"; // - // tlcMenuCaption + // barButtonItem1 // - 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; + this.barButtonItem1.Caption = "barButtonItem1"; + this.barButtonItem1.Id = 0; + this.barButtonItem1.Name = "barButtonItem1"; // - // tlcMenuName + // barButtonItem2 // - 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; + this.barButtonItem2.Caption = "barButtonItem2"; + this.barButtonItem2.Id = 1; + this.barButtonItem2.Name = "barButtonItem2"; // - // tlcActions + // barButtonItem3 // - 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; + this.barButtonItem3.Caption = "barButtonItem3"; + this.barButtonItem3.Id = 2; + this.barButtonItem3.Name = "barButtonItem3"; // - // contextMenuStrip1 + // barButtonItem4 // - 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); + this.barButtonItem4.Caption = "barButtonItem4"; + this.barButtonItem4.Id = 3; + this.barButtonItem4.Name = "barButtonItem4"; // - // toolStripMenuItem1 + // barManager1 // - 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); + this.barManager1.DockControls.Add(this.barDockControlTop); + this.barManager1.DockControls.Add(this.barDockControlBottom); + this.barManager1.DockControls.Add(this.barDockControlLeft); + this.barManager1.DockControls.Add(this.barDockControlRight); + this.barManager1.Form = this; + this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { + this.barButtonItem1, + this.barButtonItem2, + this.barButtonItem3, + this.barButtonItem4}); + this.barManager1.MaxItemId = 4; // - // toolStripMenuItem2 + // barDockControlTop // - 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); + this.barDockControlTop.CausesValidation = false; + this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; + this.barDockControlTop.Location = new System.Drawing.Point(0, 0); + this.barDockControlTop.Manager = this.barManager1; + this.barDockControlTop.Size = new System.Drawing.Size(887, 0); // - // toolStripMenuItem3 + // barDockControlBottom // - this.toolStripMenuItem3.Name = "toolStripMenuItem3"; - this.toolStripMenuItem3.Size = new System.Drawing.Size(227, 24); - this.toolStripMenuItem3.Text = "toolStripMenuItem3"; + this.barDockControlBottom.CausesValidation = false; + this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; + this.barDockControlBottom.Location = new System.Drawing.Point(0, 659); + this.barDockControlBottom.Manager = this.barManager1; + this.barDockControlBottom.Size = new System.Drawing.Size(887, 0); // - // toolStripMenuItem4 + // barDockControlLeft // - this.toolStripMenuItem4.Name = "toolStripMenuItem4"; - this.toolStripMenuItem4.Size = new System.Drawing.Size(227, 24); - this.toolStripMenuItem4.Text = "toolStripMenuItem4"; + this.barDockControlLeft.CausesValidation = false; + this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; + this.barDockControlLeft.Location = new System.Drawing.Point(0, 0); + this.barDockControlLeft.Manager = this.barManager1; + this.barDockControlLeft.Size = new System.Drawing.Size(0, 659); + // + // barDockControlRight + // + this.barDockControlRight.CausesValidation = false; + this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; + this.barDockControlRight.Location = new System.Drawing.Point(887, 0); + this.barDockControlRight.Manager = this.barManager1; + this.barDockControlRight.Size = new System.Drawing.Size(0, 659); + // + // simpleButton1 + // + this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.fullstackedbar3d_16x16; + this.simpleButton1.Location = new System.Drawing.Point(225, 257); + this.simpleButton1.Name = "simpleButton1"; + 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(887, 659); - this.Controls.Add(this.tlMenu); + this.Controls.Add(this.simpleButton1); + this.Controls.Add(this.dropDownButton1); + this.Controls.Add(this.barDockControlLeft); + this.Controls.Add(this.barDockControlRight); + this.Controls.Add(this.barDockControlBottom); + this.Controls.Add(this.barDockControlTop); this.Name = "XtraForm1"; this.Text = "XtraForm1"; - ((System.ComponentModel.ISupportInitialize)(this.tlMenu)).EndInit(); - this.contextMenuStrip1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } #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.DropDownButton dropDownButton1; + private DevExpress.XtraBars.PopupMenu popupMenu1; + private DevExpress.XtraBars.BarButtonItem barButtonItem1; + private DevExpress.XtraBars.BarButtonItem barButtonItem2; + private DevExpress.XtraBars.BarButtonItem barButtonItem3; + private DevExpress.XtraBars.BarButtonItem barButtonItem4; + private DevExpress.XtraBars.BarManager barManager1; + private DevExpress.XtraBars.BarDockControl barDockControlTop; + private DevExpress.XtraBars.BarDockControl barDockControlBottom; + private DevExpress.XtraBars.BarDockControl barDockControlLeft; + private DevExpress.XtraBars.BarDockControl barDockControlRight; + private DevExpress.XtraEditors.SimpleButton simpleButton1; } } \ No newline at end of file -- Gitblit v1.9.3