In the
SelectedIndexChanged
event of your combobox, set the
MinDate
and
MaxDate
property of your DateTimePicker. Like this:
yourDatePicker.MinDate = new DateTime(selectedYearFromDropDown, 1, 1);
yourDatePicker.MaxDate = new DateTime(selectedYearFromDropDown, 12, 31);