wpf c# event handler
C#
4
Posts
2
Posters
0
Views
1
Watching
-
hi.. if i create project using wpf.. drag a button into the form.. how do i get to the event for the button_click ? i cant double click tat...
Hi, You can just add eventhandler for the button in code-behind file as follows : button1.Click += new RoutedEventHandler(button1_Click);
Regards, Ujjaval Modi
-
Hi, You can just add eventhandler for the button in code-behind file as follows : button1.Click += new RoutedEventHandler(button1_Click);
Regards, Ujjaval Modi
-
where is the code behind the file? where to put the code? wht i was forced to do is open the blend.. and get click on the event button click to show the code.. hahaha