I have a UserControl
with a button (and several other things, but the important thing here is that button). In execution, for some action, the program places this UserControl
in a FlowLayoutPanel
of Form
, once set this UserControl
, I need that when the user presses the button in question the UserControl
do certain actions in the Form
.
The normal thing would be that in the design part when doing "double click" the clik event is automatically generated in UserControl
, this does, but I need to have that event Click
in Form
and not in the UserControl
.