lixiaojun
2025-01-20 bef933e7e166b085ba7e46e38ea62d9ae0129ec6
Desktop/PBS.Desktop.Core/MainForm.cs
@@ -5,7 +5,10 @@
using DevExpress.XtraEditors;
using DevExpress.XtraTab;
using DevExpress.XtraTab.ViewInfo;
using HStation.WinFrmUI;
using HStation.WinFrmUI.Assets;
using HStation.WinFrmUI.Xhs.PumpProduct;
using PBS.WinFrmUI.WE;
using System.Drawing.Drawing2D;
using System.IO;
using Yw.WinFrmUI;
@@ -34,7 +37,8 @@
            this.xtraTabContrl.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True;
        }
        HatchBrush myHatchBrush1 = new HatchBrush(HatchStyle.BackwardDiagonal, Color.LightGray, Color.AliceBlue);
        private HatchBrush myHatchBrush1 = new HatchBrush(HatchStyle.BackwardDiagonal, Color.LightGray, Color.AliceBlue);
        private void TabbedView1_CustomDrawTabHeader(object sender, DevExpress.XtraTab.TabHeaderCustomDrawEventArgs e)
        {
            e.Cache.FillRectangle(myHatchBrush1, e.Bounds);
@@ -561,7 +565,6 @@
            return false;
        }
        //获取
        private List<AccordionElement> GetAccordionElementList(string modular)
        {
@@ -648,6 +651,8 @@
                        {
                            if (!IsExistPage(guid, true))
                            {
                                var page=new WaterUtensilMainPage();
                                CreatePage(page, guid);
                            }
                        }),
                        Get("用水当量",new PageGuid()
@@ -659,6 +664,8 @@
                        {
                            if (!IsExistPage(guid, true))
                            {
                                var page=new WaterWEMgr();
                                CreatePage(page, guid);
                            }
                        })
                    }
@@ -681,12 +688,12 @@
                        {
                            if (!IsExistPage(guid, true))
                            {
                                var page = new DocumentPage();
                             var page=new AssetsManufacturerMainPage();
                                page.PageGuid = guid;
                                page.PageTitle.Caption = caption;
                                page.PageTitle.HeaderSvgImage = svg;
                                page.PageTitle.SvgImageSize = size;
                                CreatePage(page, guid);
                                CreatePage(page,guid);
                            }
                        }),
                        Get("水泵管理",new PageGuid()
@@ -715,7 +722,13 @@
                        {
                            if (!IsExistPage(guid, true))
                            {
                            }
                                var page=new PackageManageMainPage();
                                page.PageGuid = guid;
                                page.PageTitle.Caption = caption;
                                page.PageTitle.HeaderSvgImage = svg;
                                page.PageTitle.SvgImageSize = size;
                                CreatePage(page,guid);
                             }
                        })
                    }
                };
@@ -849,8 +862,5 @@
        }
        #endregion Modular
    }
}