| | |
| | | { |
| | | InitializeComponent(); |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | this.hydroMeterListCtrl1.ShowFindPanel = false; |
| | | this.hydroMeterListCtrl1.HydroClickInfoEvent += HydroMeterListCtrl1_HydroClickInfoEvent; |
| | | this.hydroMeterListCtrl1.HydroClickViewEvent += HydroMeterListCtrl1_HydroClickViewEvent; |
| | | this.hydroMeterListCtrl1.HydroChangedInfoEvent += HydroMeterListCtrl1_HydroChangedInfoEvent; |
| | |
| | | public void SetBindingData(Yw.Model.HydroModelInfo hydroInfo) |
| | | { |
| | | this.hydroMeterListCtrl1.SetBindingData(hydroInfo); |
| | | this.hydroMeterListCtrl1.SetBulkSetView(); |
| | | this.hydroMeterListCtrl1.SetBulkView(); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public void SetBindingData(List<HydroVisualViewModel> allVisualViewModelList) |
| | | { |
| | | this.hydroMeterListCtrl1.SetBindingData(allVisualViewModelList); |
| | | this.hydroMeterListCtrl1.SetBulkSetView(); |
| | | this.hydroMeterListCtrl1.SetBulkView(); |
| | | } |
| | | |
| | | //水力点击信息事件 |
| | |
| | | { |
| | | this.HydroChangedViewEvent?.Invoke(obj); |
| | | } |
| | | |
| | | } |
| | | } |