Hi,
"GreatBigGator" <ya****@comcast.net> schreef in bericht
news:11*********************@g43g2000cwa.googlegro ups.com...
I have multiple timers using the same elapsed handler. I would like to
be able to determine which timer elapsed within the single handler. I
do not see a timer property that I can check.
Is there any other way to determine this information?
Thanks.
The ElapsedEventHandler has a parameter called "sender" which is an object
reference to the timer that invoked the delegate. So you can just compare it
with your timers to see which one called the registered delegate.
Kind regards,
--
Tom Tempelaere.