Wednesday, 3 May 2017

Q: How to know which button click is fired in c#
Ans:
   If sender Is Button1 Then
      s = "button1"
   ElseIf sender Is Button2 Then
      s = "button2"
   End If

No comments:

Post a Comment