/// <summary> /// Initialize data /// </summary> public void InititailizeData() { var sData = new SelectionData(); var dayCollection = sData.GetData("days.json"); var monthCollection = sData.GetData("months.json"); var yearCollection = sData.GetData("years.json"); DayStart = dayCollection; DayEnd = dayCollection; MonthStart = monthCollection; MonthEnd = monthCollection; YearStart = yearCollection; YearEnd = yearCollection; DataContext = this; }