Problem creating a sub-classed form

  • Thread starter Thread starter Ron L
  • Start date Start date
R

Ron L

I have a form that was the first form created in a pilot application. Once
that form was working as desired, I wanted to abstract out the parts of the
form that will be common to others in the app. Here I ran into trouble. I
copied the working form to a new form, and changed the form name references
in the new file and then went into both files and removed overlapping code
and made the new child inherit from the new parent. Now when I try to go
into design mode in the child in the IDE I get the following error message:

The service System.Windows.Forms.Design.IEventHandlerServide already exists
in the service container. Parameter name: serviceType

Can anyone tell me what I am doing wrong here?

TIA
Ron L
 
Back
Top