I have around 10 buttons on my form and I want them to call the same Click event handler.
But for that I need the Event handler to be generalized and we don't have "this" keyword in VB.NET to refer to the control that caused the event.
How do I implement the functionality of "this" keyword in VB.NET?
I want to be able to write an Event handler that does the following:
Private Sub cmdButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdButton1.Click
currentTag = this.Tag
End Sub