HELP TIMERS !!!!

  • Thread starter Thread starter Chico via DotNetMonster.com
  • Start date Start date
C

Chico via DotNetMonster.com

I have to create a variable number of Timers runtime.
Of course i have to manage the ticking events...
I cannot create runtime differents sub to manage events ....
 
Easy peasy. Use the "AddHandler" method:

Dim theTimer as new Timer

AddHandler theTimer.Tick, AddressOf Timer_Tick



Private Sub Timer_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs)

End Sub
 

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