G
Guest
Hi There
Another dumb newbie question, sorry. I want to be able to create
applications by dragging my own version of controls onto a Form. The reason
for making say a button as a user control, is I want to button color to be a
specific color and not the default color. When I drag the Usercontrol onto
the form it all looks fine, but when it executes, the onclick can't be set on
the usercontrol. I'm guessing the OnClick on the button needs to send an
event to theUserControl so I can get at the onclick event in the designer.
Is there a better way to do this?
If this is the best way to do this, do I need to propergate all the possible
actions of the control up to the UserControl?
Thanks
Dave
Another dumb newbie question, sorry. I want to be able to create
applications by dragging my own version of controls onto a Form. The reason
for making say a button as a user control, is I want to button color to be a
specific color and not the default color. When I drag the Usercontrol onto
the form it all looks fine, but when it executes, the onclick can't be set on
the usercontrol. I'm guessing the OnClick on the button needs to send an
event to theUserControl so I can get at the onclick event in the designer.
Is there a better way to do this?
If this is the best way to do this, do I need to propergate all the possible
actions of the control up to the UserControl?
Thanks
Dave