Hello,
How can i fire the click event of a button? not just calling it as btn_click(this, RoutedEvent)....i will not be able to use this because the button and its event are not in the same class.
I have the button in class1, and its click even is declared in class 2. class 1 is a user control in class 2.
I want to trigger or fire the click in class 1 (in the code behind) so that i get into the event which is written in class 2.
How can i fire the click event of a button? not just calling it as btn_click(this, RoutedEvent)....i will not be able to use this because the button and its event are not in the same class.
I have the button in class1, and its click even is declared in class 2. class 1 is a user control in class 2.
I want to trigger or fire the click in class 1 (in the code behind) so that i get into the event which is written in class 2.