From 146ca8c7eefe74d3b73c00a73e99e94e903be401 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期四, 06 二月 2025 15:04:21 +0800 Subject: [PATCH] 增加工况管理功能和计算结果自由压力与绝对压力切换 --- Desktop/HStation.DeskTop.Xhs.Main/GuideMain.Designer.cs | 62 +++++++++++++++++++++++++++---- 1 files changed, 54 insertions(+), 8 deletions(-) diff --git a/Desktop/HStation.DeskTop.Xhs.Main/GuideMain.Designer.cs b/Desktop/HStation.DeskTop.Xhs.Main/GuideMain.Designer.cs index 25ebf96..f2864d2 100644 --- a/Desktop/HStation.DeskTop.Xhs.Main/GuideMain.Designer.cs +++ b/Desktop/HStation.DeskTop.Xhs.Main/GuideMain.Designer.cs @@ -37,6 +37,7 @@ nbMain = new DevExpress.XtraBars.Navigation.NavButton(); nbMapOverview = new DevExpress.XtraBars.Navigation.NavButton(); nbSystemConfig = new DevExpress.XtraBars.Navigation.NavButton(); + nbSystemOrganize = new DevExpress.XtraBars.Navigation.NavButton(); nbSystemAuthority = new DevExpress.XtraBars.Navigation.NavButton(); nbMinimize = new DevExpress.XtraBars.Navigation.NavButton(); nbClose = new DevExpress.XtraBars.Navigation.NavButton(); @@ -68,6 +69,8 @@ barBtnAuthority = new DevExpress.XtraBars.BarButtonItem(); barBtnSystemLog = new DevExpress.XtraBars.BarButtonItem(); barBtnCorp = new DevExpress.XtraBars.BarButtonItem(); + barBtnRoleManage = new DevExpress.XtraBars.BarButtonItem(); + popSystemOrganize = new DevExpress.XtraBars.PopupMenu(components); popSystemAuthority = new DevExpress.XtraBars.PopupMenu(components); ((System.ComponentModel.ISupportInitialize)documentManager1).BeginInit(); ((System.ComponentModel.ISupportInitialize)tabbedView1).BeginInit(); @@ -80,6 +83,7 @@ ((System.ComponentModel.ISupportInitialize)simpleSeparator1).BeginInit(); ((System.ComponentModel.ISupportInitialize)popSystemConfig).BeginInit(); ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)popSystemOrganize).BeginInit(); ((System.ComponentModel.ISupportInitialize)popSystemAuthority).BeginInit(); SuspendLayout(); // @@ -98,6 +102,7 @@ tileNavPane.Buttons.Add(nbMain); tileNavPane.Buttons.Add(nbMapOverview); tileNavPane.Buttons.Add(nbSystemConfig); + tileNavPane.Buttons.Add(nbSystemOrganize); tileNavPane.Buttons.Add(nbSystemAuthority); tileNavPane.Buttons.Add(nbMinimize); tileNavPane.Buttons.Add(nbClose); @@ -178,6 +183,26 @@ nbSystemConfig.Name = "nbSystemConfig"; nbSystemConfig.Tag = "SystemConfig"; // + // nbSystemOrganize + // + nbSystemOrganize.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; + nbSystemOrganize.Appearance.FontSizeDelta = 2; + nbSystemOrganize.Appearance.FontStyleDelta = System.Drawing.FontStyle.Bold; + nbSystemOrganize.Appearance.ForeColor = System.Drawing.Color.Black; + nbSystemOrganize.Appearance.Options.UseFont = true; + nbSystemOrganize.Appearance.Options.UseForeColor = true; + nbSystemOrganize.AppearanceHovered.FontSizeDelta = 2; + nbSystemOrganize.AppearanceHovered.FontStyleDelta = System.Drawing.FontStyle.Bold; + nbSystemOrganize.AppearanceHovered.Options.UseFont = true; + nbSystemOrganize.AppearanceSelected.FontSizeDelta = 2; + nbSystemOrganize.AppearanceSelected.FontStyleDelta = System.Drawing.FontStyle.Bold; + nbSystemOrganize.AppearanceSelected.Options.UseFont = true; + nbSystemOrganize.Caption = "缁勭粐绠$悊"; + nbSystemOrganize.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbSystemOrganize.ImageOptions.SvgImage"); + nbSystemOrganize.ImageOptions.SvgImageSize = new System.Drawing.Size(24, 24); + nbSystemOrganize.Name = "nbSystemOrganize"; + nbSystemOrganize.Tag = "SystemOrganize"; + // // nbSystemAuthority // nbSystemAuthority.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; @@ -191,10 +216,11 @@ nbSystemAuthority.AppearanceHovered.Options.UseFont = true; nbSystemAuthority.AppearanceSelected.FontSizeDelta = 2; nbSystemAuthority.AppearanceSelected.FontStyleDelta = System.Drawing.FontStyle.Bold; + nbSystemAuthority.AppearanceSelected.ForeColor = System.Drawing.Color.Black; nbSystemAuthority.AppearanceSelected.Options.UseFont = true; - nbSystemAuthority.Caption = "缁勭粐绠$悊"; + nbSystemAuthority.AppearanceSelected.Options.UseForeColor = true; + nbSystemAuthority.Caption = "鏉冮檺绠$悊"; nbSystemAuthority.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbSystemAuthority.ImageOptions.SvgImage"); - nbSystemAuthority.ImageOptions.SvgImageSize = new System.Drawing.Size(24, 24); nbSystemAuthority.Name = "nbSystemAuthority"; nbSystemAuthority.Tag = "SystemAuthority"; // @@ -438,8 +464,8 @@ barManager1.DockControls.Add(barDockControlLeft); barManager1.DockControls.Add(barDockControlRight); barManager1.Form = this; - barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnSupplier, barBtnBuildingType, barBtnBuilding, barBtnFacilities, barBtnSystemType, barBtnPart, barBtnWaterEquivalent, barBtnUser, barBtnAuthority, barBtnSystemLog, barBtnCorp, barBtnWaterUtensil, barBtnProject, barBtnPumpManage, barButtonTypeManage, BtnCatlogManage, BtnPropManage }); - barManager1.MaxItemId = 17; + barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnSupplier, barBtnBuildingType, barBtnBuilding, barBtnFacilities, barBtnSystemType, barBtnPart, barBtnWaterEquivalent, barBtnUser, barBtnAuthority, barBtnSystemLog, barBtnCorp, barBtnWaterUtensil, barBtnProject, barBtnPumpManage, barButtonTypeManage, BtnCatlogManage, BtnPropManage, barBtnRoleManage }); + barManager1.MaxItemId = 18; // // barDockControlTop // @@ -505,7 +531,6 @@ barBtnSystemLog.ItemInMenuAppearance.Normal.FontStyleDelta = System.Drawing.FontStyle.Bold; barBtnSystemLog.ItemInMenuAppearance.Normal.Options.UseFont = true; barBtnSystemLog.Name = "barBtnSystemLog"; - barBtnSystemLog.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; barBtnSystemLog.ItemClick += barBtnSystemLog_ItemClick; // // barBtnCorp @@ -520,9 +545,26 @@ barBtnCorp.Name = "barBtnCorp"; barBtnCorp.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // + // barBtnRoleManage + // + barBtnRoleManage.Caption = "瑙掕壊绠$悊"; + barBtnRoleManage.Id = 17; + barBtnRoleManage.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnRoleManage.ImageOptions.SvgImage"); + barBtnRoleManage.ItemAppearance.Normal.FontSizeDelta = 2; + barBtnRoleManage.ItemAppearance.Normal.FontStyleDelta = System.Drawing.FontStyle.Bold; + barBtnRoleManage.ItemAppearance.Normal.Options.UseFont = true; + barBtnRoleManage.Name = "barBtnRoleManage"; + barBtnRoleManage.ItemClick += BarBtnRoleManage_ItemClick; + // + // popSystemOrganize + // + popSystemOrganize.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnUser), new DevExpress.XtraBars.LinkPersistInfo(barBtnAuthority), new DevExpress.XtraBars.LinkPersistInfo(barBtnSystemLog), new DevExpress.XtraBars.LinkPersistInfo(barBtnCorp) }); + popSystemOrganize.Manager = barManager1; + popSystemOrganize.Name = "popSystemOrganize"; + // // popSystemAuthority // - popSystemAuthority.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnUser), new DevExpress.XtraBars.LinkPersistInfo(barBtnAuthority), new DevExpress.XtraBars.LinkPersistInfo(barBtnSystemLog), new DevExpress.XtraBars.LinkPersistInfo(barBtnCorp) }); + popSystemAuthority.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSystemLog), new DevExpress.XtraBars.LinkPersistInfo(barBtnRoleManage) }); popSystemAuthority.Manager = barManager1; popSystemAuthority.Name = "popSystemAuthority"; // @@ -551,6 +593,7 @@ ((System.ComponentModel.ISupportInitialize)simpleSeparator1).EndInit(); ((System.ComponentModel.ISupportInitialize)popSystemConfig).EndInit(); ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); + ((System.ComponentModel.ISupportInitialize)popSystemOrganize).EndInit(); ((System.ComponentModel.ISupportInitialize)popSystemAuthority).EndInit(); ResumeLayout(false); PerformLayout(); @@ -565,7 +608,7 @@ private DevExpress.XtraBars.Navigation.NavButton nbMinimize; private DevExpress.XtraBars.Navigation.NavButton nbClose; private DevExpress.XtraBars.Navigation.NavButton nbSystemConfig; - private DevExpress.XtraBars.Navigation.NavButton nbSystemAuthority; + private DevExpress.XtraBars.Navigation.NavButton nbSystemOrganize; private DevExpress.XtraEditors.SidePanel sidePanelTop; private DevExpress.XtraLayout.LayoutControl layoutControl1; private DevExpress.XtraLayout.LayoutControlGroup Root; @@ -587,7 +630,7 @@ private DevExpress.XtraBars.BarButtonItem barBtnAuthority; private DevExpress.XtraBars.BarButtonItem barBtnSystemLog; private DevExpress.XtraBars.BarButtonItem barBtnCorp; - private DevExpress.XtraBars.PopupMenu popSystemAuthority; + private DevExpress.XtraBars.PopupMenu popSystemOrganize; private DevExpress.XtraBars.Navigation.NavButton nbMapOverview; private DevExpress.XtraBars.BarButtonItem barBtnWaterUtensil; private DevExpress.XtraBars.BarButtonItem barBtnProject; @@ -596,5 +639,8 @@ private DevExpress.XtraBars.BarButtonItem barButtonTypeManage; private DevExpress.XtraBars.BarButtonItem BtnCatlogManage; private DevExpress.XtraBars.BarButtonItem BtnPropManage; + private DevExpress.XtraBars.Navigation.NavButton nbSystemAuthority; + private DevExpress.XtraBars.PopupMenu popSystemAuthority; + private DevExpress.XtraBars.BarButtonItem barBtnRoleManage; } } \ No newline at end of file -- Gitblit v1.9.3