Exemplo n.º 1
0
 public FilterCriteriaItem(FilterCriteriaManager owner, BarButtonItem item, GridColumn column, string filterCriteria)
 {
     this.item           = item;
     this.column         = column;
     this.filterCriteria = filterCriteria;
     this.owner          = owner;
     item.ButtonStyle    = BarButtonStyle.Check;
     item.ItemClick     += new ItemClickEventHandler(item_ItemClick);
 }
Exemplo n.º 2
0
 public DateFilterMenu(BarManager manager, GridView view, FilterCriteriaManager filterManager)
     : base(manager)
 {
     this.view          = view;
     this.filterManager = filterManager;
     CreateBarItem(Properties.Resources.IsToday, "IsOutlookIntervalToday([Date])");
     CreateBarItem(Properties.Resources.IsYesterday, "IsOutlookIntervalYesterday([Date])");
     CreateBarItem(Properties.Resources.IsEarlierThisWeek, "IsOutlookIntervalEarlierThisWeek([Date])");
     CreateBarItem(Properties.Resources.IsLastWeek, "IsOutlookIntervalLastWeek([Date])");
     CreateBarItem(Properties.Resources.IsEarlierThisMonth, "IsOutlookIntervalEarlierThisMonth([Date])");
     CreateBarItem(Properties.Resources.IsEarlierThisYear, "IsOutlookIntervalEarlierThisYear([Date])");
 }