G
Guest
I have a class that generates an event and I have a derived class thereof
that needs to generate the same event. I tried making the event virtual but
that didn't accomplish what I want, although logically I think it should.
The best I've been able to do is have two events and then have the app
register the handler with both, but that seems to be poor style.
I've also tried to have the accessor-declarations for the event in the
derived class handle both registrations, but to no avail.
(I'm using C# with VS.net 2003)
that needs to generate the same event. I tried making the event virtual but
that didn't accomplish what I want, although logically I think it should.
The best I've been able to do is have two events and then have the app
register the handler with both, but that seems to be poor style.
I've also tried to have the accessor-declarations for the event in the
derived class handle both registrations, but to no avail.
(I'm using C# with VS.net 2003)