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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top