| | |
| | | this.AssetsPumpSeriesTreeListCtrl1.FocusedChangedEvent += AssetsPumpSeriesTreeListCtrl1_FocusedChangedEvent; |
| | | this.AssetsPumpSeriesTreeListCtrl1.AddAssetsPumpMain += BtnAdd_ItemClickAsync; |
| | | this.dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; |
| | | |
| | | } |
| | | |
| | | private readonly List<AssetsPumpMainViewModel> _allBindingList = new(); |
| | |
| | | MessageBoxHelper.ShowWarning("请选择数据行!"); |
| | | return; |
| | | } |
| | | //var dlg=new HStation.WinFrmUI.PhartRelation.SelXhsAssetsPumpMainPhartDlg(); |
| | | //dlg.SetBandingData(currentVm.ID); |
| | | //dlg.ShowDialog(); |
| | | /* var dlg=new HStation.WinFrmUI.PhartRelation.SelXhsAssetsPumpMainPhartDlg(); |
| | | dlg.SetBandingData(currentVm.ID); |
| | | dlg.ShowDialog();*/ |
| | | |
| | | var guid = new PageGuid() |
| | | { |
| | |
| | | MessageBoxHelper.ShowWarning($"{currentVm.Name}:AssetsPumpMainDto is null!"); |
| | | return; |
| | | } |
| | | //var page = new HStation.WinFrmUI.PhartRelation.XhsPumpMainPhartPanel(); |
| | | //page.InitialDataSource(currentVm.ID); |
| | | //page.PageTitle.Caption = guid.Function; |
| | | //page.PageGuid = guid; |
| | | //CreatePage(page, guid); |
| | | /* var page = new HStation.WinFrmUI.PhartRelation.XhsPumpMainPhartPanel(); |
| | | page.InitialDataSource(currentVm.ID); |
| | | page.PageTitle.Caption = guid.Function; |
| | | page.PageGuid = guid; |
| | | CreatePage(page, guid);*/ |
| | | } |
| | | } |
| | | |