I
Iwan Petrow
Hi,
I have one base form which has a panel control. I made the panel
control protected because I want to add controls in it. When I inhert
it using visual studio designer and add controls (anywhere in the form)
the designer add one row: this.myPanel.Size=.... and in this way I have
problems with the size of the panel control.
Could I do something that this not to happen? I want properties of the
panel control to be like these in the base class and not to change (I
want only other controls to be added in it).
Thanks.
I have one base form which has a panel control. I made the panel
control protected because I want to add controls in it. When I inhert
it using visual studio designer and add controls (anywhere in the form)
the designer add one row: this.myPanel.Size=.... and in this way I have
problems with the size of the panel control.
Could I do something that this not to happen? I want properties of the
panel control to be like these in the base class and not to change (I
want only other controls to be added in it).
Thanks.