A good way in .NET Winforms to have user entered time frame?

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-03-18T22:47:36Z Indexed on 2010/03/18 23:11 UTC
Read the original article Hit count: 450

Filed under:
|
|
|

Hi,

Does anyone know of a good way to have a user enter an amount of time (hours and minutes) using winforms controls? At the moment I have two numeric up downs, one for time and one for minutes that I then parse to create a timespan. The only other idea I have is a text box that a user can enter a "00:00" time in, and validate the input. Both of these ways seem a bit bad (in UI terms) though.

Any ideas?

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about vb.net