Exemple #1
0
 public void RemoveTask(Task t)
 {
     tasks.Remove(t);
     fireTasksChanged();
 }
Exemple #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;
 }
Exemple #3
0
 public void AddTask(Task t)
 {
     tasks.Add(t);
     fireTasksChanged();
 }
Exemple #4
0
 public TaskDialog(Task t)
 {
     InitializeComponent();
     task = t;
 }