Hi there,
If I understand you correctly, you need to use one function to handle multiple buttons click events, the buttons being on different forms.
The way to do this is to have a Routine in an application level module, which will handle the events. Then in your Form Load event on each form, you add a delegate to this event and associate it with the buttons click event. An example would to best. Say you wanted one routine to handle all your separate forms close event. In your app level module you add your routine like this,
Public Sub CloseClick(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim FormToClose As Form = CType(sender, Button).FindForm
FormToClose.Close()
End Sub
Then in each form you add your delegate like this,
AddHandler btnClose.Click, AddressOf CloseClick
hope this helps