|
Changing just button apperance
I've been looking at how to change the appearance of a Button.
I've managed to changed it to have rounded edges but over-riding OnPaint, however I lose the default capabilities like "enabled" and setting text up easily from the Properties menu.
If I overide OnPaint for rounded-edge appearance, I need to perform all other things as well (drawString, etc).
If i call base.OnPaint( ) first, my drawings will cover it anyway.
So the question is, any simple way to just change the apperance, but retain all other functionality?
Thanks in advance.
|