Hello:
I named a button with the default of button3. I clicked the button and added some code. I then renamed the button to 'buttonExcel' in the Property window. It left the 'button3' code without renameing it.
How can I rename a button and have it be changed everywhere in the application/project? Without cut/past the code.
Also I have some code that does not do anything. How can I remove all that are empty? (Like code below)
private void buttonVBasic_Click(object sender, EventArgs e)
{
}
If I just delete the code, it gives me errors.
Loading
Aleksandar IlioskiPosted Feb 25, 2010, 11:29 PM
this is for c#.. i don't know if it work in VisualBasic..
Aleksandar IlioskiPosted Feb 27, 2010, 9:25 AM
GustavoPosted Feb 26, 2010, 9:21 AM
Thanks, seems to work. BTW: I am using C#, the sample I had said "buttonVBasic_Click" was just a name.
Thanks you so much.