Can't use base method for event

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?
 

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