Tholitz_Reloaded
Member
- Joined
- Jan 15, 2007
- Messages
- 10
- Programming Experience
- Beginner
I have a problem with calling an event i dont know how i can go about this. here is it is. Hope someone could help me out.
I need to call a controls event from another event. I can't figure out how. example...
Private Sub btn1_Click(....) handles btn1.click
.....
End Sub.
I want to call the above event thru another button's event..
Private sub btn2_Click(...) handles btn2.click
.... btn1_Click event here... but how?
End Sub
I was checking on my MSDN included in the .Net help but all I can find was the RaiseEvent and Addhandler/RemoveHandler but I really dont know how to use the code..
Please help thanks.
I need to call a controls event from another event. I can't figure out how. example...
Private Sub btn1_Click(....) handles btn1.click
.....
End Sub.
I want to call the above event thru another button's event..
Private sub btn2_Click(...) handles btn2.click
.... btn1_Click event here... but how?
End Sub
I was checking on my MSDN included in the .Net help but all I can find was the RaiseEvent and Addhandler/RemoveHandler but I really dont know how to use the code..
Please help thanks.