Shuxia Ning
2024-11-12 0404a7124d87ef965a1dcc4c22d9ff10541fa63f
Desktop/HStation.DeskTop.Xhs.Main/GuideMain.cs
@@ -3,16 +3,15 @@
using DevExpress.XtraBars.Ribbon;
using DevExpress.XtraEditors;
using HStation.WinFrmUI;
using HStation.WinFrmUI.Auth;
using HStation.WinFrmUI.Basic;
using HStation.WinFrmUI.Xhs.Core;
using HStation.WinFrmUI.Organize;
using HStation.WinFrmUI.Xhs.PumpProduct;
using HStation.WinFrmUI.Xhs.PumpProject;
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using Yw.WinFrmUI;
namespace HStation.Desktop
{
@@ -98,6 +97,13 @@
                    }
                    break;
                case "SystemOrganize":
                    {
                        popSystemOrganize.MinWidth = buttonInfo.Bounds.Width;
                        popSystemOrganize.ShowPopup(point);
                    }
                    break;
                case "SystemAuthority":
                    {
                        popSystemAuthority.MinWidth = buttonInfo.Bounds.Width;
@@ -168,10 +174,10 @@
            };
            if (!IsExistPage(guid, true))
            {
                var page = new XhsProjectMainPanel();
                page.PageTitle.Caption = guid.Function;
                page.PageGuid = guid;
                CreatePage(page, guid);
                /*     var page = new XhsProjectMainPanel();
                     page.PageTitle.Caption = guid.Function;
                     page.PageGuid = guid;
                     CreatePage(page, guid);*/
            }
        }
@@ -251,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>
@@ -302,12 +325,24 @@
        }
        /// <summary>
        /// 用户管理
        /// 员工管理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barBtnUser_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var guid = new PageGuid()
            {
                Function = "员工管理",
                Modular = ""
            };
            if (!IsExistPage(guid, true))
            {
                var page = new EmployeeMgrMainPanel();
                page.PageTitle.Caption = guid.Function;
                page.PageGuid = guid;
                CreatePage(page, guid);
            }
        }
        /// <summary>
@@ -499,7 +534,7 @@
            };
            if (!IsExistPage(guid, true))
            {
                var page = new HomePageMainPanel();
                var page = new HomeXhsProjectPage_Bak();
                page.PageTitle.Caption = guid.Function;
                page.PageGuid = guid;
                CreatePage(page, guid);