duheng
2024-11-29 5c14c9686d2bd7c99fdd6cc6fc19404e6e4b8e4d
Desktop/HStation.Desktop.PBS.Core/MainForm.cs
@@ -6,6 +6,9 @@
using DevExpress.XtraEditors;
using DevExpress.XtraTab;
using DevExpress.XtraTab.ViewInfo;
using HStation.WinFrmUI;
using HStation.WinFrmUI.Assets;
using HStation.WinFrmUI.WE;
using HStation.WinFrmUI.Xhs.PumpProduct;
using System.Drawing.Drawing2D;
using System.IO;
@@ -35,7 +38,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);
@@ -562,7 +566,6 @@
            return false;
        }
        //获取
        private List<AccordionElement> GetAccordionElementList(string modular)
        {
@@ -649,6 +652,8 @@
                        {
                            if (!IsExistPage(guid, true))
                            {
                                var page=new WaterUtensilMainPage();
                                CreatePage(page, guid);
                            }
                        }),
                        Get("用水当量",new PageGuid()
@@ -660,6 +665,8 @@
                        {
                            if (!IsExistPage(guid, true))
                            {
                                var page=new WaterWEMgr();
                                CreatePage(page, guid);
                            }
                        })
                    }
@@ -682,12 +689,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()
@@ -716,7 +723,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);
                             }
                        })
                    }
                };
@@ -850,8 +863,5 @@
        }
        #endregion Modular
    }
}