Пример #1
0
 private void OnPomodoroChanged(object sender, PomodoroEventArgs e)
 {
     // let whatever UI know that we are in different mode
     OnPropertyChanged("IsInWorkMode");
     OnPropertyChanged("IsInBreakMode");
 }
Пример #2
0
 protected virtual void OnModeChanged(PomodoroEventArgs e)
 {
     ModeChanged?.Invoke(this, e);
 }