Change the default button image - visual studio 2010
Posted on 2012-09-11
I am working on a project that has multiple forms with probably close to 100 total buttons. Right now, those buttons are actually pictureboxes that I create mouseenter, mouseleave, and click events to act like buttons.
Occasionally, I want to change the appearance of the program, but I then have to individually change each picturebox image to change the appearance of the button. That means changing the mouseenter and mouseleave images for every single button.
Is there anyway that I can change the default button image and it's mouseover image so that I can simply change the one button and it will apply to all buttons in my program? Something that would allow me to also enter different text onto each button, but maintain the same image.