patrick

patrick

  • NA
  • 397
  • 0

Getting a button click without knowing the button

May 20 2009 3:37 PM
I have 22 buttons, and i want all of them to run the same method, which will:
1.Get the name of the button that was hit.
2.Perform a task based on which button was hit.(probably a switch statement). Is there and easier/ faster way to set the click methods without setting all 22 buttons?

is there at least a way to find the button that was clicked?

Answers (2)