how do you run the command of a different object.
for example.
i have a button1 that does something on a click
i have a button 2 that does the same thing on a click
instead of writing out the code twice, how do i reference button2 to do button1_click()???
thanx in advance for the help.
for example.
i have a button1 that does something on a click
i have a button 2 that does the same thing on a click
instead of writing out the code twice, how do i reference button2 to do button1_click()???
thanx in advance for the help.