Beispiel #1
0
        public void Rest()
        {
            TimeoutScreen timeout = new TimeoutScreen(pomodoro);

            timeout.Show();

            state = State.Rest;
            pomodoroNavigation.SetPanel(PomodoroNavigation.Possibilities.DuringCountdown);
            StartClock(BREAK_TIME);
        }
Beispiel #2
0
        public TimeoutScreen(Pomodoro pomodoro)
        {
            Instance = this;

            this.pomodoro = pomodoro;
            InitializeComponent();
            time = timeLabel;

            pomodoro.Visible = false;
        }