stop watch
i am trying to create a simple stop watch that constantly displays the time changing until you press stop. but i am having trouble. can anyone help with a tutorial or point me on a good path to accomplish this?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Sep 6, 2010, 11:56 PM
You can reduce inaccuracies by not using a repeating interval for the timer. Instead, each time the timer event happens, stop the timer and start it again with the amount of time needed for the next tick of your clock.
Felipe RamosPosted Sep 6, 2010, 11:24 PM
Dipal ChoksiPosted Sep 6, 2010, 5:15 PM
http://www.c-sharpcorner.com/UploadFile/aaghany/StopWatchUsingCsharp11122005051620AM/StopWatchUsingCsharp.aspx
Sam HobbsPosted Sep 6, 2010, 3:35 PM
Felipe RamosPosted Sep 6, 2010, 3:22 PM
System.Diagnostics.Stopwatch
The other is the the timer under the DirectX framework or their utility class.