Creating a set time textbox

  • Thread starter Thread starter Maziar Aflatoun
  • Start date Start date
M

Maziar Aflatoun

Hi,

Does anyone know what Windows Form component I need to use to create a set
time textbox similar to Windows Scheduled Tasks? (Ex. Start time 9:00 AM
where when you click 9 and use the arrows you can go up and down or when you
click on AM you can change between AM/PM all in one textbox or dropdown
list.

Thanks
Maz
 
You can use the DateTimePicker control with the Format property set to
"DateTimePickerFormat.Time", or you could set the Format property to
"DateTimePickerFormat.Custom" and specify a format string in the
CustomFormat property.
 
Back
Top