An alternative could be to use the
sender
property of the event handler. I believe this will have the same effect:
Protected Sub LoginButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim button as Button = CType(sender, Button)
button.Text = "123"
End Sub
If you get in to the habit of this it can make your event handlers easier to reuse, depending on your desired behaviour. This event handler will always change the clicked button's text to 123, regardless of the name of the button. However, you will need to implement the normal checks to make sure that sender actually is a button, otherwise you'll get exceptions thrown.
Disclaimer: I just typed this code as is straight in to here, I haven't tested it and it's been a little while since I used VB, so you might have to sort out syntax errors and incorrect Type names, etc., but hopefully you get the idea.