From 39b6a686ab59135e63a44ab206fd8ca361878f91 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期二, 17 十二月 2024 16:59:36 +0800 Subject: [PATCH] 统一资产图标 --- Desktop/HStation.DeskTop.Xhs.Main/GuideMain.cs | 36 +++++++++++++++++++++++++++++++----- 1 files changed, 31 insertions(+), 5 deletions(-) diff --git a/Desktop/HStation.DeskTop.Xhs.Main/GuideMain.cs b/Desktop/HStation.DeskTop.Xhs.Main/GuideMain.cs index 9e245b6..5eda6d2 100644 --- a/Desktop/HStation.DeskTop.Xhs.Main/GuideMain.cs +++ b/Desktop/HStation.DeskTop.Xhs.Main/GuideMain.cs @@ -2,6 +2,8 @@ using DevExpress.XtraBars.Navigation; using DevExpress.XtraBars.Ribbon; using DevExpress.XtraEditors; +using HStation.WinFrmUI; +using HStation.WinFrmUI.Auth; using HStation.WinFrmUI.Basic; using HStation.WinFrmUI.Organize; using HStation.WinFrmUI.Xhs.PumpProduct; @@ -92,6 +94,13 @@ { popSystemConfig.MinWidth = buttonInfo.Bounds.Width; popSystemConfig.ShowPopup(point); + } + break; + + case "SystemOrganize": + { + popSystemOrganize.MinWidth = buttonInfo.Bounds.Width; + popSystemOrganize.ShowPopup(point); } break; @@ -248,6 +257,23 @@ } } + //瑙掕壊绠$悊 + private void BarBtnRoleManage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) + { + var guid = new PageGuid() + { + Function = "瑙掕壊绠$悊", + Modular = "" + }; + if (!IsExistPage(guid, true)) + { + /* var page = new MenuMgrMainPanel(); + page.PageTitle.Caption = guid.Function; + page.PageGuid = guid; + CreatePage(page, guid);*/ + } + } + /// <summary> /// 鍒嗗尯绠$悊 /// </summary> @@ -299,7 +325,7 @@ } /// <summary> - /// 鐢ㄦ埛绠$悊 + /// 鍛樺伐绠$悊 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> @@ -307,7 +333,7 @@ { var guid = new PageGuid() { - Function = "鐢ㄦ埛绠$悊", + Function = "鍛樺伐绠$悊", Modular = "" }; if (!IsExistPage(guid, true)) @@ -501,18 +527,18 @@ private void GuideMain_Load(object sender, EventArgs e) { - /*var guid = new PageGuid() + var guid = new PageGuid() { Function = "椤圭洰鎬昏", Modular = "" }; if (!IsExistPage(guid, true)) { - var page = new HomePageMainPanel(); + var page = new HomeXhsProjectPage_Bak(); page.PageTitle.Caption = guid.Function; page.PageGuid = guid; CreatePage(page, guid); - }*/ + } } } } \ No newline at end of file -- Gitblit v1.9.3