3
Reply

Two Click events for one button

Ask a question
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)
Next Recommended Forum