Selecting the time

E

elliot.stokes

I want the user of my application to be able to open up a form and
select a time for a certain job to run. Windows uses a sort of
NumericUpDown control to do it. Is there any way to implement similar
or is there a similar control in .net
 
C

Chris Dunaway

I want the user of my application to be able to open up a form and
select a time for a certain job to run. Windows uses a sort of
NumericUpDown control to do it. Is there any way to implement similar
or is there a similar control in .net

Use the DateTimePicker control. Set the Format property to Custom, set
the CustomFormat property to the desired time format (e. g. hh:mm tt)
and finally set the ShowUpDown property to true.
 

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

Top