How to use own RGB value to change Winform Button ForeColor?

Viewed 33128

How can I change the Buttons's ForeColor with my own RGB value (example: 131;160;21) programmatically (not from designer)? The property R, G and B in Button-control are only "get" property and not "set".

I want to change it when the "Enabled" property is changed and I have also implemented event handler for EnabledChanged event.

Thank you in advance.

1 Answers
Related