I have five button and a menu strip, I want to apply the color on button based on the menustip click.
Suppose I have btn1, btn2, btn3, and menu stip which items are Test1, Test2, and Test3.
When I click on Test1 then btn1 color should become orange, when I click Test2 and btn1 color become white and btn2 color become orange, same as Test3.
some one please help me.
Define the events of your Menu strip Items and you can do the following to change the color of buttons…
Remember There is no css for buttons in win forms.
Updated: