How to change position of inherited items in an Inherited user control

Posted by Yalda on Stack Overflow See other posts from Stack Overflow or by Yalda
Published on 2012-11-18T10:56:30Z Indexed on 2012/11/18 10:59 UTC
Read the original article Hit count: 173

I have used a user control as a base class (let's call it BaseUC) with 3 labels (in 3 lines) on it (they are set as protected).

And there is another user control that inherits from it (InheritedUC). I have added two more labels in InheritedUC, which are positioned between the base's labels (so there are 5 lines).

Everything is fine is Visiual Studio's design UI view. But when I run the application, labels on BaseUC overlap with the ones in InheritedUC and I can't see the ones on the inherited control.

Any ideas to fix this? Thank you very much

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio