From d70880a3d9ae6c9f99ec380ccd16f5524bb622e6 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 05 四月 2025 09:06:31 +0800 Subject: [PATCH] 修改按钮状态 --- DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs | 86 +++++++++++++++++++++++++++++++++++------- 1 files changed, 71 insertions(+), 15 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs b/DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs index fce9f95..831a1d2 100644 --- a/DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs @@ -41,6 +41,7 @@ this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barSubItem2 = new DevExpress.XtraBars.BarSubItem(); this.barAbout = new DevExpress.XtraBars.BarSubItem(); + this.barMenu = new DevExpress.XtraBars.BarButtonItem(); this.barUs = new DevExpress.XtraBars.BarButtonItem(); this.barHelp = new DevExpress.XtraBars.BarButtonItem(); this.barEasy = new DevExpress.XtraBars.BarButtonItem(); @@ -52,6 +53,9 @@ this.barMsg = new DevExpress.XtraBars.BarListItem(); this.barMsgXf = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem4 = new DevExpress.XtraBars.BarSubItem(); + this.barTxt = new DevExpress.XtraBars.BarStaticItem(); + this.barOrg = new DevExpress.XtraBars.BarEditItem(); + this.repositoryItemCheckedComboBoxEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit(); this.fdm1 = new DevExpress.XtraBars.FluentDesignSystem.FluentFormDefaultManager(this.components); this.acrd = new DevExpress.XtraBars.Navigation.AccordionControl(); this.cms1 = new System.Windows.Forms.ContextMenuStrip(this.components); @@ -61,6 +65,7 @@ ((System.ComponentModel.ISupportInitialize)(this.tab)).BeginInit(); this.strp1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fluentDesignFormControl1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fdm1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.acrd)).BeginInit(); this.cms1.SuspendLayout(); @@ -73,18 +78,17 @@ this.fluentDesignFormContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.fluentDesignFormContainer1.Location = new System.Drawing.Point(208, 39); this.fluentDesignFormContainer1.Name = "fluentDesignFormContainer1"; - this.fluentDesignFormContainer1.Size = new System.Drawing.Size(806, 727); + this.fluentDesignFormContainer1.Size = new System.Drawing.Size(1022, 727); this.fluentDesignFormContainer1.TabIndex = 0; // // tab // - this.tab.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.tab.Appearance.Options.UseFont = true; this.tab.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InActiveTabPageHeader; this.tab.Dock = System.Windows.Forms.DockStyle.Fill; this.tab.Location = new System.Drawing.Point(0, 0); this.tab.Name = "tab"; - this.tab.Size = new System.Drawing.Size(806, 701); + this.tab.Size = new System.Drawing.Size(1022, 701); this.tab.TabIndex = 4; // // strp1 @@ -96,7 +100,7 @@ this.toolTime}); this.strp1.Location = new System.Drawing.Point(0, 701); this.strp1.Name = "strp1"; - this.strp1.Size = new System.Drawing.Size(806, 26); + this.strp1.Size = new System.Drawing.Size(1022, 26); this.strp1.TabIndex = 5; this.strp1.Text = "statusStrip1"; // @@ -138,17 +142,23 @@ this.barMsg, this.barMsgXf, this.barSubItem4, - this.barEasy}); + this.barEasy, + this.barTxt, + this.barOrg, + this.barMenu}); this.fluentDesignFormControl1.Location = new System.Drawing.Point(0, 0); this.fluentDesignFormControl1.Manager = this.fdm1; this.fluentDesignFormControl1.Name = "fluentDesignFormControl1"; - this.fluentDesignFormControl1.Size = new System.Drawing.Size(1014, 39); + this.fluentDesignFormControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { + this.repositoryItemCheckedComboBoxEdit1}); + this.fluentDesignFormControl1.Size = new System.Drawing.Size(1230, 39); this.fluentDesignFormControl1.TabIndex = 2; this.fluentDesignFormControl1.TabStop = false; this.fluentDesignFormControl1.TitleItemLinks.Add(this.barAbout); this.fluentDesignFormControl1.TitleItemLinks.Add(this.barMy); this.fluentDesignFormControl1.TitleItemLinks.Add(this.barMsgXf); this.fluentDesignFormControl1.TitleItemLinks.Add(this.barMsg); + this.fluentDesignFormControl1.TitleItemLinks.Add(this.barOrg, true); // // barSubItem1 // @@ -173,11 +183,18 @@ this.barAbout.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barAbout.ImageOptions.Image"))); this.barAbout.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barAbout.ImageOptions.LargeImage"))); this.barAbout.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { + new DevExpress.XtraBars.LinkPersistInfo(this.barMenu), new DevExpress.XtraBars.LinkPersistInfo(this.barUs), new DevExpress.XtraBars.LinkPersistInfo(this.barHelp), new DevExpress.XtraBars.LinkPersistInfo(this.barEasy)}); this.barAbout.Name = "barAbout"; this.barAbout.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; + // + // barMenu + // + this.barMenu.Caption = "鍔熻兘鑿滃崟"; + this.barMenu.Id = 36; + this.barMenu.Name = "barMenu"; // // barUs // @@ -256,6 +273,36 @@ this.barSubItem4.Id = 32; this.barSubItem4.Name = "barSubItem4"; // + // barTxt + // + this.barTxt.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; + this.barTxt.Caption = "鍒囨崲缁勭粐:"; + this.barTxt.Id = 34; + this.barTxt.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.employee_16x16; + this.barTxt.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.employee_32x321; + this.barTxt.Name = "barTxt"; + this.barTxt.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; + // + // barOrg + // + this.barOrg.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; + this.barOrg.Caption = "鍒囨崲缁勭粐"; + this.barOrg.Edit = this.repositoryItemCheckedComboBoxEdit1; + this.barOrg.EditValue = "鍒囨崲缁勭粐"; + this.barOrg.EditWidth = 120; + this.barOrg.Id = 35; + this.barOrg.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.publicfix_16x16; + this.barOrg.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.publicfix_32x321; + this.barOrg.Name = "barOrg"; + this.barOrg.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; + // + // repositoryItemCheckedComboBoxEdit1 + // + this.repositoryItemCheckedComboBoxEdit1.AutoHeight = false; + this.repositoryItemCheckedComboBoxEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemCheckedComboBoxEdit1.Name = "repositoryItemCheckedComboBoxEdit1"; + // // fdm1 // this.fdm1.Form = this; @@ -273,12 +320,16 @@ this.barMsg, this.barMsgXf, this.barSubItem4, - this.barEasy}); - this.fdm1.MaxItemId = 34; + this.barEasy, + this.barTxt, + this.barOrg, + this.barMenu}); + this.fdm1.MaxItemId = 37; + this.fdm1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { + this.repositoryItemCheckedComboBoxEdit1}); // // acrd // - this.acrd.Appearance.Item.Hovered.Font = new System.Drawing.Font("Tahoma", 10F); this.acrd.Appearance.Item.Hovered.ForeColor = System.Drawing.Color.Blue; this.acrd.Appearance.Item.Hovered.Options.UseFont = true; this.acrd.Appearance.Item.Hovered.Options.UseForeColor = true; @@ -300,27 +351,27 @@ this.tabCloseCurrent, this.tabCloseAll}); this.cms1.Name = "contextMenuStrip1"; - this.cms1.Size = new System.Drawing.Size(158, 56); + this.cms1.Size = new System.Drawing.Size(215, 84); // // tabCloseCurrent // - this.tabCloseCurrent.Image = global::Gs.DevApp.Properties.Resources.close_16x16; + this.tabCloseCurrent.Image = global::Gs.DevApp.Properties.Resources.deletelist2_16x16; this.tabCloseCurrent.Name = "tabCloseCurrent"; - this.tabCloseCurrent.Size = new System.Drawing.Size(157, 26); + this.tabCloseCurrent.Size = new System.Drawing.Size(214, 26); this.tabCloseCurrent.Text = "鍏抽棴褰撳墠椤�"; // // tabCloseAll // - this.tabCloseAll.Image = global::Gs.DevApp.Properties.Resources.close_16x16; + this.tabCloseAll.Image = global::Gs.DevApp.Properties.Resources.forcetesting_16x161; this.tabCloseAll.Name = "tabCloseAll"; - this.tabCloseAll.Size = new System.Drawing.Size(157, 26); + this.tabCloseAll.Size = new System.Drawing.Size(214, 26); this.tabCloseAll.Text = "鍏抽棴鍏跺畠椤�"; // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1014, 766); + this.ClientSize = new System.Drawing.Size(1230, 766); this.ControlContainer = this.fluentDesignFormContainer1; this.Controls.Add(this.fluentDesignFormContainer1); this.Controls.Add(this.acrd); @@ -337,6 +388,7 @@ this.strp1.ResumeLayout(false); this.strp1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.fluentDesignFormControl1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckedComboBoxEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fdm1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.acrd)).EndInit(); this.cms1.ResumeLayout(false); @@ -371,5 +423,9 @@ private System.Windows.Forms.ToolStripMenuItem tabCloseCurrent; private System.Windows.Forms.ToolStripMenuItem tabCloseAll; private System.Windows.Forms.ToolStripStatusLabel toolZhiChi; + private DevExpress.XtraBars.BarStaticItem barTxt; + private DevExpress.XtraBars.BarEditItem barOrg; + private DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit repositoryItemCheckedComboBoxEdit1; + private DevExpress.XtraBars.BarButtonItem barMenu; } } \ No newline at end of file -- Gitblit v1.9.3