Raise Event
Just type in:btnDadosGerais.Click+=press tab button two times and the event handler is auto generated. move code to new event handler.JP Cowboy Coders Unite!
View ArticleRaise Event
Hi,you should it register not in an event handler. You could it register in the constructor.
View ArticleRaise Event
Hello,i try this:btnTeste.Click += btnDadosGerais_Click;and this:btnDadosGerais.Click += Button_Click_1;and not happen anything :sThis is my code:public void btnDadosGerais_Click(object sender,...
View ArticleRaise Event
First of all that is not an event it is an event handler. It was most likely generated by the += syntax as Andrew explains. When you use that += you are 'wiring' the eventhandler to the event.JP Cowboy...
View ArticleRaise Event
an event can accept multiple delegates and will work through each one of them, so when you are registering your eventsjustbtnDadosGerais.Click += btnDadosGerais_Click; btnOtherButton.Click +=...
View ArticleRaise Event
Hi,I hope I am not missing your something here but can you not just do this -<Button x:Name="OtherBtn" Click="btnDadosGerais_Click" />Does that not work for you?
View ArticleRaise Event
Hello,I have this eventpublic void btnDadosGerais_Click(object sender, RoutedEventArgs e) { btnDadosGerais.IsEnabled = false; btnConfiguracoes.IsEnabled = true; btnPerfisHorarios.IsEnabled = true;...
View Article