I am wanting to change the look of the standard button in C# and im thinking all I need to do is locate the file that the Button immage is located and just change that, but im not sure...Anyone know a better way or if that will work or not?
Printable View
I am wanting to change the look of the standard button in C# and im thinking all I need to do is locate the file that the Button immage is located and just change that, but im not sure...Anyone know a better way or if that will work or not?
yes that is surely the way to change the look of a buttton. Just remember to set Flatstyle Flat for the properties. that should work.
thank you
If you simply want to change the Image that appears on a button then Atkin is correct.
If you want to change the look and feel of the button itself then you have to look at overriding the OnPaint method in a subclass of Button (or ButtonBase).
Even with FlatStyle.Flat, .NET will draw a border around the button.
good point! Thank you