a timer control is one of the control you could add to your forms.
This one has only one relevant event that is raise every number of milliseconds (you decide when)...
for your case, and for the sake of simplicity, i would use a timer with his interval set to 1000 (that's 1 second), and display the remaining time...
when the user press the button you only has to disable the timer (set enable to false) and do whatever you want to...
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========