Windows Develop Bookmark and Share   
 index > Windows Forms Designer > error creating the inherited form
 

error creating the inherited form

I created the base form and inherited form.
I changed inherits clause in the inherited form's Designer.vb to "inherits xxxx.BaseForm"
Then, I opened the inherited form in design, I got this error.

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

Please anyone, I need your help.
Thanks.
Ilovemydog  Friday, June 19, 2009 2:35 PM
Hi,

It seems that both the base form and the inherited form have a same property. You may comment out the duplicate property in the inheirted form and reopen it in the designer to see if the problem still exists.

Sincerely,
Linda Liu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
Linda Liu  Wednesday, July 01, 2009 9:32 AM
Hi,

It seems that both the base form and the inherited form have a same property. You may comment out the duplicate property in the inheirted form and reopen it in the designer to see if the problem still exists.

Sincerely,
Linda Liu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
Linda Liu  Wednesday, July 01, 2009 9:32 AM

You can use google to search for other answers

Custom Search

More Threads

• Change Pointvalue in a PropertyGrid during runtime
• Error HRESULT E_FAIL
• How to add a user control from the current project to the toolbox?
• User control doubt
• Userform as a part of wallpaper..
• VS2005 Designer Question
• Can't access IO namespace (C#)
• Custom component not being destroyed properly
• Populating the treeview with directory details
• Control Design