Does this SO post help? https://stackoverflow.com/questions/5540245/loops-timers-in-c
In case the post deleted, here's the steps: