public void AddYear(int year)
 {
     Calendar.CurrentMonth = Calendar.CurrentMonth.AddYears(year);
     if (year != 0)
     {
         OnYearChanging?.Invoke(this, Calendar.CurrentMonth.Year);
     }
     CreateCalendar3Month();
 }
        public void AddDate(DateTime dateModification)
        {
            var yearBeforeAdd = Calendar.CurrentMonth.Year;

            Calendar.CurrentMonth = dateModification;
            if (yearBeforeAdd != Calendar.CurrentMonth.Year)
            {
                OnYearChanging?.Invoke(this, Calendar.CurrentMonth.Year);
            }
            CreateCalendar3Month();
        }
        public void AddMonth(int month)
        {
            var yearBeforeAdd = Calendar.CurrentMonth.Year;

            Calendar.CurrentMonth = Calendar.CurrentMonth.AddMonths(month);
            if (yearBeforeAdd != Calendar.CurrentMonth.Year)
            {
                OnYearChanging?.Invoke(this, Calendar.CurrentMonth.Year);
            }
            CreateCalendar3Month();
        }