System.Timer problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello!

I have a application that uses the system.timer object. My big problem is
when the application starts, fire the elapsed event.

In the form_load event, i use the try command and inside this, make the
elapsed time equal to 10000. So, only after 10 seconds, should the
timer_elapsed event be fired, but no.

Does anyone had the same problem?

Thanks,

Sérgio Cardoso
 
Not really. Make sure your call to start the timer is the last line of code
in form_load if you want to wait 10 seconds from the time you see the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top