0

I was created custom timer control for time count that count time max to min.And add this control to main form.In main form Key Up event,Total mark add one by checking this timer count when user click enter.The problem is when user click enter quickly repeated,the timer control's time count become slower.(I tested click enter 250 times will late 2 second).So what should i do?

1 Answers1

0

The timer is not precise. It suspends for a while, at least the time set on the timer, probably longer. When the program is ready (in this case probably delayed by clicking the button), it will resume the timer. The timer action might also delay the actual execution of the timer.

Patrick Hofman
  • 153,850
  • 22
  • 249
  • 325