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.
 
Back
Top