Resetting Time.Elapsed
Author |
Message |
mynameisbob
|
Posted: Sat Jul 17, 2004 12:35 am Post subject: Resetting Time.Elapsed |
|
|
is there anyway to reset Time.Elapsed without exiting the program?
i am trying to make a timer that starts at 20 then resets itself when it reaches zero. I can do it by subtracting from a variable every time it runs through the loop but i want it to be based on real time. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
Posted: Sat Jul 17, 2004 1:37 am Post subject: (No subject) |
|
|
umm... no... just measure the time using two different variables, and look for the difference between them. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
|
|