Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
C#


hi all
i want to change color of ToolStripMenuItem on the event click
Posted
Comments
Sergey Alexandrovich Kryukov 25-Jun-12 20:46pm    
Not a question; and does not make any sense, as I explain in my answer, please see.
--SA

On the event click — is too late: if you do it, no one will have enough time to see it, because the item won't be shown on click. So, why? And what's wrong with default coloring scheme? Better don't irritate the user with decoration. You need add expressive capabilities to UI only when it serves some purpose.

—SA
 
Share this answer
 
C#
this.toolStripMenuItem1.ForeColor = Color.AliceBlue;
this.toolStripMenuItem1.BackColor = Color.AntiqueWhite;
 
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