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