1
Answer

form inheritance

Iliya Iliev

Iliya Iliev

15y
3.7k
1
Hi,

I have one base form and a child one. In my base form I have some control like panels and buttons which are common for all my child forms.
OK this works but the problem is that I can't change any property of the controls that are on the base form. I want to change position or size of this controls.
I want to add new controls in my child forms and this controls to be in the panel control from base form.
How to do this? Please help me !

P.S. I'm using SharpDevelop 3.0.
P.P.S. I've tried to make all controls from base from as protected and now I can access them from child forms but in the Visual Designer they are still locked for me (I can't move them and all properties in the  properties window are grayed for me).
Answers (1)