G
Guest
Hi All,
I want to show timer in somewhere(e.g in a textbox) like chronometer.
Thanks...
I want to show timer in somewhere(e.g in a textbox) like chronometer.
Thanks...
I want to show timer in somewhere(e.g in a textbox) like chronometer.
Mark Rae said:So what's the problem...?
When I press button the chronometer will start and it will be shown in
textbox.How??
Nicholas Paldino said:Syd,
You basically need to set a timer object up with an interval for how
fast you want your chronometer to act. For example, if you want your
chronometer to change every second, you set the timer to fire every second.
When you start your chronometer, you take note of the current time.
When the timer fires, you can subtract the starting time from the current
time and that is the value you place in the textbox.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Syd said:Hi All,
I want to show timer in somewhere(e.g in a textbox) like chronometer.
Thanks...
You're surely not the one decide this.Are you....???