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