Example #1
0
 public void RemoveTask(Task t)
 {
     tasks.Remove(t);
     fireTasksChanged();
 }
Example #2
0
 private bool taskIsMatch(Task task, string filter)
 {
     bool match = false;
     match |= Regex.IsMatch(task.Title, filter, RegexOptions.IgnoreCase);
     match |= Regex.IsMatch(task.Description, filter, RegexOptions.IgnoreCase);
     match |= Regex.IsMatch(task.Due, filter, RegexOptions.IgnoreCase);
     return match;
 }
Example #3
0
 public void AddTask(Task t)
 {
     tasks.Add(t);
     fireTasksChanged();
 }
Example #4
0
 public TaskDialog(Task t)
 {
     InitializeComponent();
     task = t;
 }