From 2596928b751bb5edc6ff0537c3950d0cabaf2018 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期三, 12 三月 2025 11:14:22 +0800 Subject: [PATCH] Test --- Desktop/PBS.Desktop/MainForm.cs | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Desktop/PBS.Desktop/MainForm.cs b/Desktop/PBS.Desktop/MainForm.cs index c67c2f3..701e677 100644 --- a/Desktop/PBS.Desktop/MainForm.cs +++ b/Desktop/PBS.Desktop/MainForm.cs @@ -13,6 +13,7 @@ using HStation.WinFrmUI.Dict; using NPOI.SS.Formula.Functions; using PBS.WinFrmUI; +using PBS.WinFrmUI.Hydro; using PBS.WinFrmUI.WE; using System.IO; using Yw.WinFrmUI; @@ -1382,7 +1383,13 @@ { if (!IsExistPage(guid, true)) { - + //var page = new HydroSceneMgrPage(); + //page.PageGuid = guid; + //page.PageTitle.Caption = caption; + //page.PageTitle.HeaderSvgImage = svg; + //page.PageTitle.SvgImageSize = size; + //CreatePage(page, guid); + } }); var modelTemplate = Get("模型模版", new PageGuid() @@ -1436,7 +1443,12 @@ { if (!IsExistPage(guid, true)) { - + var page = new SystemCurvePage(); + page.PageGuid = guid; + page.PageTitle.Caption = caption; + page.PageTitle.HeaderSvgImage = svg; + page.PageTitle.SvgImageSize = size; + CreatePage(page, guid); } }); var forecastWater = Get("水量预测", new PageGuid() -- Gitblit v1.9.3