From your description in the windows forms project you would not need to create anythign through code. You could simply add a timer to the project and set the enabled property to false. In your button code set enabled=true or false as needed.

You would use the timers class to create a timer via code.