VB.NET Windows User Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I add routines to a user control that I can call from the parent
form? I have a user control that contains 6 buttons, Close, Delete, Cancel,
Save, Edit, and Add. I want to have control over the click events of these
buttons from the parent control. I would also like to keep the default click
event from the user control intact. Is this possible?
 
How can I add routines to a user control that I can call from the parent
form? I have a user control that contains 6 buttons, Close, Delete, Cancel,
Save, Edit, and Add. I want to have control over the click events of these
buttons from the parent control. I would also like to keep the default click
event from the user control intact. Is this possible?

If the buttons are standard buttons, you can call their PerformClick
method.


--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
Back
Top