Can't use base method for event

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

Guest

I've got a form that is interrited from a base form. The base form defines
methods, event handlers, that I want to call from the derived class.

This form was originally developed in .Net 1.1 and converted over to .Net 2.0.
This worked fine in .Net 1.1 but in .Net 2.0 the designer thrown the
following error:
"Method XXX cannot be the method for an event because a class this class
derives from already defines the method".

The only workaround I have found is to re-define the event handlers in the
derived class and make them call the base.

Is there a way of making this work?
 
Back
Top