How to convert dateTimePicker format in winforms to match StartBoundary

Topics: Setup
Jan 14, 2015 at 8:15 AM
How to convert dateTimePicker format in winforms to match StartBoundary
Coordinator
Jan 14, 2015 at 11:38 PM
Edited Jan 14, 2015 at 11:55 PM
Are you asking how to use the DateTimePicker control in your own application so that it can be used to edit a StartBoundary? If so, you really can't as it forces you to either supply a date or a time. If you need just the date or just the time, the Value property can be assigned directly to the StartBoundary.

Optionally, the TaskSchedulerEditor assembly contains a FullDateTimePicker control that you can just add to your form and set the UTCPrompt property to the string you want to follow the time picker, set the TimeFormat property to LongTime and then set the Value property to the StartBoundary value. This control mimics the one found in the native Windows Task Scheduler app.
Marked as answer by dahall on 1/14/2015 at 3:55 PM