0
Reply

inheriting from usercontrol

Ryan Minor

Ryan Minor

Jul 23 2010 3:59 PM
1.5k

Hi there
Say you designed a UserControl by inheriting from UserControl.  You draw a couple buttons on the usercontrol.  The resulting usercontrol is called say UserControl1.
Then you create UserControl2, and inherit from UserControl1.
If you look at the appearance of UserControl2, the buttons do not look like they do on UserControl1.
Is there a way to preserve appearance of controls drawn on a UserControl supertype?