Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

User control click even on main form

$
0
0
I have a user control that I created and I need to be able to click on the button on the user control and have something happen on the main form. Now, I did this several years ago, but I don't remember how I did this now. I think I need to use a delegate, but I have searched the Internet without finding an exact answer. How to I create a click event for the user control on the form's code file so that it will cause say the background of the form to turn red. If you know a good tutorial site on the subject that would be great, but I have not found one yet.

:?:/>

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>