how to execute event from my own class for example I want to execute on click event in button after click it show a message it is my first class but the coding in my own class
Asked
Active
Viewed 76 times
0
-
You do that by writing `Button.Click` – David Heffernan Dec 04 '13 at 12:53
-
1Bear in mind that the accepted answer at the dupe is, in my view, the wrong way to do it. My answer there is the best way to fire the `OnClick` event, but the advice given by @whosrdaddy shows you the right way to solve the problem. Do what he suggests. – David Heffernan Dec 04 '13 at 14:18