Ryan Minor

Ryan Minor

  • NA
  • 12
  • 0

inheriting from usercontrol

Jul 23 2010 3:59 PM

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?