I have this menu click event for example:
private void testToolStripMenuItem_Click(object sender, EventArgs e)
{
if (testToolStripMenuItem.Checked == true)
{
testToolStripMenuItem.ForeColor = Color.Red;
}
else
{
testToolStripMenuItem.ForeColor = Color.Black;
}
}
I want to do that when the user click once on the menu the menu text will be in Red and once he clicked on it again it will back in Black.
Another thing/problem: How can i avoid/disable that when the user move the mouse over the menu so the menu is painted in blue around it how can i make that when the user move the mouse over the menu it will be regular and wil not painted ?
You must change the forecolor of item in
checkedChangeevent .