Timer control vs Timer class

  • Thread starter Thread starter VJ
  • Start date Start date
V

VJ

I included a timer control in my C# project, I got the following 2 events
1. Disposed
2. Tick
I included the timer class programatically in the same C# project and I got
the following events
1. Disposed
2. Elapsed

I am stumped..:-( whats going on here? I have framework 1.1 with VS.NET
2003

VJ
 
VJ, they are two different objects, the 1st is a Windows.Forms.Timer and the
latter is a System.Timers.Timer. There is also the System.Threading.Timer.
 
I am stumped..:-( whats going on here? I have framework 1.1 with VS.NET
2003

There are at least three Timer classes in the class library; one in
System.Threading, one in Systm.Timers (the one with the Elapsed event)
and one in System.Windows.Forms (the one with the Tick event).



Mattias
 
Back
Top