Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a WindowsForm. I want to add the theme effect, so that if user select the color the form will change its color as per the color selection.
BackColor property of form works for me I can able to change backcolor of File manu, but I want to change the backColor of the tool bar also.

please suggest.

Thanks in advance.
Posted
Comments
Vedat Ozan Oner 5-Mar-14 2:34am    
google answers this question in 0.12 seconds. https://www.google.com.tr/search?q=toolbar+backcolor

Approach 1 : (easiest one)
Select ToolStrip >> Properties >> Backcolor >> Select any damn color.

Approach 2:
toolStrip1.BackColor = System.Drawing.SystemColors.ButtonFace;

-KR
 
Share this answer
 
Have you tried ,

MainMenuStrip.BackColor = Color.FromKnownColor(KnownColor.Red);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900