Majid Kamali

Majid Kamali

  • NA
  • 290
  • 255.9k

Two Click events for one button

Jun 8 2011 12:51 PM
Hi.
Can a button have two Click events?
I have a class that gets a reference of object Button and puts it in an inner variable. then with +=, I create a Click event handler for that button. inside the main form class, I created a Click handler for that button. what will occur when I click the button? will both handlers run?
Thanks

Answers (3)