我正在尝试将我的应用程序的自定义控件颜色与Windows 7中使用的颜色相匹配。但是,我似乎无法找到Windows 7使用的所有颜色的完整列表。是否有包含这些颜色的内置类,或者我是否必须为我想要设计的每个控件使用颜色选择器。
If anyone's interested in seeing the system colours for different themes at a glance, I've created a reference here .
Use these functions and classes and set your application's colours dynamically: GetSysColor function (Win32), System.Windows.SystemColors class (Windows Presentation Foundation), System.Drawing.SystemColors class (Windows Forms).
SystemColors类有帮助吗?
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.