G
Guest
What variables do I have to supply when I call a sub routine that contains
(sender, e).
For instance I want to call this:
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem1.Click
When I try to call it using:
Call MenuItem1_Click()
I get:
"Argument not supplied for parameter 'e' of Private Sub
MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)"
(sender, e).
For instance I want to call this:
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem1.Click
When I try to call it using:
Call MenuItem1_Click()
I get:
"Argument not supplied for parameter 'e' of Private Sub
MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)"