c# - Derived UserControl layout resets after build -


i have basic "base" usercontrol added properties. when inherit base usercontrol , add buttons in designer seems fine. when build project of buttons disappear , layout restores original base usercontrol. doing wrong here?

public partial class baseusercontrol : usercontrol {     public baseusercontrol()     {         initializecomponents();     }      public bool canclose     {         get;         set;     } }  public partial class inheritedusercontrol : baseusercontrol {     public inheritedusercontrol()     {         initializecomponents();     } } 


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -