Derived classes cannot raise base class events????

J

John Smith

Derived classes cannot raise base class events????

I am subclassing (or should I say now Inheriting) a standard control
The Inherited control uses lots of APIs, some APIs change a few control
states but those changes are not reflected on the kept properties

Is there a way to fast update the properties or ... I am lost ;(
 
N

NM

Define protected methods in your base class that raise your event, and in
your derived class call theses methods where you want to raise event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top