Esempio n. 1
0
 public static void CompleteTask(string name)
 {
     Timekeeping.tasks.Add(new Task(name, DateTime.Now - Timekeeping.startTime));
     Timekeeping.start();
 }
Esempio n. 2
0
 public static void Reset()
 {
     Timekeeping.tasks = new List <Task>();
     Timekeeping.start();
 }