Exemple #1
0
 public PomodoroClock(PomodoroClock p)
 {
     config            = new int[] { CLOCK_TIMER_WORK, CLOCK_TIMER_BREAK, CLOCK_TIMER_WORK, CLOCK_TIMER_BREAK, CLOCK_TIMER_WORK, CLOCK_TIMER_BREAK, CLOCK_TIMER_WORK, CLOCK_TIMER_PAUSE };
     currentIndexTimer = 0;
     this.sujet        = p.sujet;
     this.client       = p.client;
     this.priorite     = p.priorite;
     tag            = p.tag;
     countDownTimer = new CountDownTimer(p.countDownTimer);
     this.date      = p.date;
 }
Exemple #2
0
 public void addPomodoro(PomodoroClock pomodoro)
 {
     pomodoroList.Add(pomodoro);
     fullPomodoroList.Add(new PomodoroClock(pomodoro));
 }