I was making a change in the name of the buttons in the project and accidentally double clicked the button, hence it opened the code, as it had not renamed the variable opened the code with the name button7.
As I had made some changes I decided to save the project before anything else could go wrong. So far so good, being that later I went to the properties of the button to rename and rename to btnSair only that in the event did not change to btnSair continues as button7 in the event ..
Could someone give help to make the change also in the event? Is it possible to just rename and refactor?