In the usercontrol code, u raise an event when a button is clicked, then u can put u'r code in that event on the form.

If that does not make sence, please let me know, and i can create a sample for u