Question:
So I have this button that launches another program. I disable it after launch to prevent double launch situations. Problem is the ForeColor changes from white to black which doesnt look good against my dark BackColor. How do I make the ForeColor not change when disabling or even change it after disable?Answer:
You need to useEnabledChanged
and paint
events of the current button. Suppose your button name is button1
.If you have better answer, please add a comment about this, thank you!