You should just use a Timer. In the Tick event handler, toggle the colour. After a specific number of Tick events, stop the Timer.