I want to use a dateTimePicker and monthlycalender on the form..this how I want it to wor开发者_如何转开发k. if I change the dateTimepicker value the date is highlighted on the monthlycalender how do i do that, any help please?
Try setting the selection of the monthly calender using SetSelectionRange. Pass DateTimePicker.Value for both parameters.
Place the information that Daniel gave you in the
private void dateTimePicker1_ValueChanged(object sender, EventArgs e) { }
event handler.
精彩评论