Pseudo code of how I expect it to work but I am not sure what .net methods I need to call to accomplish this.
Dim specifiedEvent = "MouseDown"
Dim handler = handler
For Each control As Control in form.controls
If control has specifiedEvent Then
control.specifiedEvent addhandler handler
End If
Next
c# is linked because it can be easily converted to vb
Aucun commentaire:
Enregistrer un commentaire