| | |
| | | using HStation.WinFrmUI.Assets; |
| | | using HStation.WinFrmUI.Basic; |
| | | using HStation.WinFrmUI.Dict; |
| | | using IBox.WinFrmUI; |
| | | using PBS.WinFrmUI; |
| | | using PBS.WinFrmUI.Box; |
| | | using PBS.WinFrmUI.DataAnalysis; |
| | |
| | | ctrl_ele.OwnerElement.Expanded = true; |
| | | this.accordionControlFunction.Refresh(); |
| | | } |
| | | //if (!IsExistPage(pguid, true)) |
| | | //{ |
| | | // ele.Click.Invoke(); |
| | | //} |
| | | return true; |
| | | } |
| | | else |
| | |
| | | CreatePage(page, guid); |
| | | } |
| | | }); |
| | | //var simulationDrill = Get("模拟调度", new PageGuid() |
| | | //{ |
| | | // Modular = "WaterSupplyAnalysis", |
| | | // MoudingType = eMoudingType.Tab, |
| | | // Function = "SimulationSchedule", |
| | | //}, svgImgItem32[4], new Size(18, 18), (caption, guid, svg, size) => |
| | | //{ |
| | | // if (!IsExistPage(guid, true)) |
| | | // { |
| | | // var page = new SimulationSchedulePage(); |
| | | // page.PageGuid = guid; |
| | | // page.PageTitle.Caption = caption; |
| | | // page.PageTitle.HeaderSvgImage = svg; |
| | | // page.PageTitle.SvgImageSize = size; |
| | | // CreatePage(page, guid); |
| | | // } |
| | | //}); |
| | | var forecastWater = Get("水量预测", new PageGuid() |
| | | { |
| | | Modular = "WaterSupplyAnalysis", |