Ejemplo n.º 1
0
        public void SelectNewCurrentMonth(MonthViewModel month)
        {
            CurrentMonthVm = month;
            NotifyPropertyChanged(nameof(CurrentMonthVm));

            CurrentMonthVm.UpdateLists();
        }
Ejemplo n.º 2
0
        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));
        }