|
-
Feb 24th, 2003, 08:29 PM
#3
Member
Another way to do this is your declare a Public event for your control... then at the button_click event, try to fire this custom event. For example:
Public Event MybuttonClick()
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
RaiseEvent MybuttonClick()
End Sub
the custom event MybuttonClick should be visible at the main form souce code editor whenver you using your usercontrol.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|