Inherits Question...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am inheriting the System.Timers.Timer within my control in order to add timer functionality... I able to access both methods and Props, How do I access the tick event? Basically when this particulr function is called I pass a var which sets the interval, I want to invoke and access the tick event from within my class which inherits the Timer

Thanks

Anthony Nystrom
 
Hi Anthony,

I thought that a solution for this is to make your tick event as a public
tick event from your created class witch is set by the the tick event inside
the class.

If this is not clear repeat?

I hope this helps?

Cor
 
* =?Utf-8?B?QW50aG9ueSBOeXN0cm9t?= said:
I am inheriting the System.Timers.Timer within my control in order to
add timer functionality...

Are you really /inheriting/ from this class, or are you /instantiating/
this class?
I able to access both methods and Props, How do I access the tick
event? Basically when this particulr function is called I pass a var
which sets the interval, I want to invoke and access the tick event from
within my class which inherits the Timer.

"Post your code!"

'System.Timers.Timer' doesn't have a 'Tick' event.
 
Back
Top