public void Remove(IJetListViewNodeFilter filter) { if (_filters.Contains(filter)) { filter.FilterChanged -= new EventHandler(HandleFilterChanged); _filters.Remove(filter); OnFilterListChanged(); } }
public void Add(IJetListViewNodeFilter filter) { if (!_filters.Contains(filter)) { filter.FilterChanged += new EventHandler(HandleFilterChanged); _filters.Add(filter); OnFilterListChanged(); } }
public bool Contains(IJetListViewNodeFilter filter) { return(_filters.Contains(filter)); }