简体   繁体   中英

c# vista - how to implement color scheme in code? framework 2.0

I have an application which I run on vista. when i tried to change the color scheme of windows (right click on desktop ->personalize->window color and appearance -> change color scheme to high contrast black) I cannot see the text and background images I use.

any idea what to do?

假设您正在使用Label控件显示文本,如果您在ForeColor属性中设置了显式颜色,例如从ControlText设置为Black,则它将不再遵循所选的Windows配色方案。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM