Your problem is multiple declaration of any control
one derived from the base form class and another that you have declared in the derived form class. Make sure that the name of controls you are putting on your derived form do not clash with those of base form.
Write back if there is anything else you want to ask.
quote:Originally posted by mmwaikar
When we use Inherited forms in Visual C#, is there any restriction that we can't change the position of inherited controls in the derived form ?
Because once I do it, the Visual Studio IDE starts giving me en error like -- "An error occured while loading the document. Fix the error, and then try loading the document again. The error message follows: Duplicate declaration of member Location".
Please help me with this.
Thanks and Regards,
,VBA & .NET Specialist
Wiley Support Team