| | |
| | | { |
| | | InitializeComponent(); |
| | | this.gridView1.SetNormalView(30); |
| | | this.gridView1.RegistCustomDrawRowIndicator(40); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 显示查询面板 |
| | | /// </summary> |
| | | [Browsable(true)] |
| | | [Description("显示查询面板")] |
| | | [DefaultValue(true)] |
| | | public bool ShowFindPanel |
| | | { |
| | | get { return this.gridView1.OptionsFind.AlwaysVisible; } |
| | | set { this.gridView1.OptionsFind.AlwaysVisible = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public event Action<Yw.Model.HydroHydrantInfo> HydroClickEvent; |
| | | |
| | | private List<HydroHydrantViewModel> _allBindingList = null;//所有绑定列表 |
| | | //所有绑定列表 |
| | | private List<HydroHydrantViewModel> _allBindingList = null; |
| | | |
| | | /// <summary> |
| | | /// 绑定数据 |
| | | /// </summary> |
| | | /// <param name="allHydrantList"></param> |
| | | public void SetBindingData(List<Yw.Model.HydroHydrantInfo> allHydrantList) |
| | | { |
| | | _allBindingList = new List<HydroHydrantViewModel>(); |