Give your method a generic name: "CreatedAtRunTimeButton_MouseDown" for example, and set all your created buttons to use the same handler. Then within the handler use the
sender
parameter (cast into a Button) to access which button was pressed.
Dim b As Button = TryCast(sender, Button)
If b IsNot Nothing Then
Dim text As String = b.Text
End If