To add to what Patrice already explained, here is some sample code :
-------------------------------------
AddHandler Button1.Click, AddressOf ClickHandler
AddHandler Button2.Click, AddressOf ClickHandler
Private Sub ClickHandler (ByVal sender As System.Object, e As _
System.EventArgs)
' Your code here.
End Sub
-------------------------------------
In VB.NET, Event Handlers are Subs, not Functions, so they can't return
values. This however has no implication on whether they accept
parameters or not. In my example, the EventHandler method takes 2
parameters.
HTH,
Regards,
Cerebrus.