difference between elapsed and tick events in system.Timers.Timer

C

chandu

Hello,

can u please explain the difference between the two System.Timers.Timer
events [elapsed,and tick]
i want to use the timer in windows service..

please clarify..

thank u
chandu
 
M

Marc Gravell

Elapsed exists, Tick doesn't...

Or more specifically, Tick/Elapsed are (broadly*) equivalent on
System.Windows.Forms.Timer and System.Timers.Timer

*=watch out: System.Timers.Timer.Elapsed fires on an arbitrary thread,
so you may need to synchronise.

Marc
 

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

Top