Hi all,
I have created the ToolStripMenuItem in the windows form and set the background color in the background process.
I checked the condition like this in the thread, it automatically runs in the background.
if(Condition == true)
ToolStripMenuItem.BackColor = Color.Green;
else
ToolStripMenuItem.BackColor = Color.Red;
It change the color when I hover the mouse on it. But, I want to automatically change the Bg color.
If anybody have idea, please share it.
Thanks.


Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Jul 21, 2021, 9:07 AM EDT
Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Jul 20, 2021, 7:25 AM EDT
Raja Priya Meganathan190 reputationPosted Jul 20, 2021, 10:07 AM EDT