How to restrict DateTimePicker to select the time only? I don't know how to disable calendar control which drops when you press the button at the right of DateTimePicker.
DateTimePicker
A snippet out of the MSDN:
'The following code sample shows how to create a DateTimePicker that enables users to choose a time only.'
timePicker = new DateTimePicker(); timePicker.Format = DateTimePickerFormat.Time; timePicker.ShowUpDown = true;
1.4m articles
1.4m replys
5 comments
57.0k users