public void SelectNewCurrentMonth(MonthViewModel month) { CurrentMonthVm = month; NotifyPropertyChanged(nameof(CurrentMonthVm)); CurrentMonthVm.UpdateLists(); }
private void SetNewMonthAndYear(MonthViewModel newMonth) { CurrentYear = newMonth.Year; CurrentYear.CurrentMonthVm = newMonth; CurrentYear.CurrentMonthVm.UpdateLists(); NotifyPropertyChanged(nameof(CurrentYear)); NotifyPropertyChanged(CurrentYear, nameof(CurrentYear.CurrentMonthVm)); NotifyPropertyChanged(nameof(CombinedMonthName)); }