Majid Kamali

Majid Kamali

  • NA
  • 290
  • 252.8k

Index of a Button in an array

Sep 2 2010 1:13 PM
Hi.
I have an array of buttons that I fire MouseClick event for them in Form1_Load method.
In Button_MouseClick method, How Can I understand What is the index of button that is pressed?(pressed button is one of aforementioned array members)
Can I change signature of Button_MouseClick event and add an int parameter to end of it as index?
Thanks :-)

Answers (2)