By sender reference,
CType(sender,Button).Text="Click"
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
By comparing references,
Dim btn As Button = CType(sender, Button)
Dim i As Integer
For i = 0 To bttonArray.Length - 1
If btn.Equals(bttonArray(i)) Then
'statements
End If
Next
EDIT:
variable name changed.
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
Thanks Jack. Purchase some good books of .net framework, and vb.net.
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241