You need to use the Timer from the Threading namespace (as opposed to the timer in the Forms namespace).