Custom component cannot add into user control
hi all,
i've got problem while adding custom component onto user control.
i've got custom component button (uc_infra_button) , user control, when try drag component user control, button did not shown on user controls appear @ bottom of it. is there way can let me adding button onto designer?
thanks,
brian
probably have created uc_infra_button right clicking on project , selecting add -> component. , getting messed up. if uc_infra_button class has "initializecomponent" method, have created uc_infra_button that.
if so, have add new class , inherit button below,
public class uc_infra_button : button { }
anyways, if sure uc_infra_button iherits button, got retry. close open files , try readding control.
i hope helps.
please mark post answer if solved problem. happy programming!
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment