mardi 15 décembre 2015

c# Windows forms checkbox text disappears when control is disabled

I have a strange issue which I never noticed before. I have a checkbox on a form whose backcolor is web:black. My checkbox text is web:gold. Everything is fine except when that checkbox is not enabled. If I do

checkbox.Enabled = false;

then the text associated with that textbox doesn't show! I never noticed this before and now I need this but can't figure out how to fix it. Any ideas? Thanks




Aucun commentaire:

Enregistrer un commentaire