private void RefreshCalendar() { if (CalendarType == E_CalendarType.Day) { RefreshDays(m_calendarData.Days(m_selectDT)); } else if (CalendarType == E_CalendarType.Month) { RefreshMonths(m_calendarData.Months(m_selectDT)); } else { RefreshYears(m_calendarData.Years(m_selectDT)); } }