V
VB Programmer
I have a custom timer class that I created (derived from
System.Timers.Timer). It has an extra shared property called CustomerName.
This is a portion of the code:
Dim t as New MyTimer("Bill Jones") ' send the timer the customer name
associated with this timer
AddHandler t.Elapsed, AddressOf TimerFired
t.Enabled = True
In my TimerFired code how do I access the value of the property called
"CustomerName"?
Thanks!
System.Timers.Timer). It has an extra shared property called CustomerName.
This is a portion of the code:
Dim t as New MyTimer("Bill Jones") ' send the timer the customer name
associated with this timer
AddHandler t.Elapsed, AddressOf TimerFired
t.Enabled = True
In my TimerFired code how do I access the value of the property called
"CustomerName"?
Thanks!