I got this PM from hazejean, and for the benefit of others who may have the same problem, I will answer here: To add a hander to an event dynamically, use the AddHandler function. First create a handler sub with the proper parameters (you can generally get this from the MSDN, or by copying and pasting the params from an existing button). For examplePrivate Sub ButtonClickHandler(sender As Object, e As EventArgs)
MessageBox.Show("Click!")
End Sub
'to hook up the above hander:
AddHandler Button1.Click, AddressOf ButtonClickHanderAs usual, consult the MSDN for more information about handling events.