C#应用广泛的色彩管理 [英] C# Application wide color management

查看:159
本文介绍了C#应用广泛的色彩管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

im写一个大的C#应用​​程序。
关键是控件的颜色应该是应用程序的用户可以调整的。
如果有任何解决方案重写(仅适用于本应用程序的上下文)System.Drawing.SystemColors,这样就会很好,所以我不必手动设置每个单个控件的值。
任何人都知道我的问题的解决方案是那么简单?
感谢

im on to write a large C# Application. The point is that the colors of the controls should be adjustable by the user of the application. It would be really nice if there are any solution to override(only for the context of this application) the System.Drawing.SystemColors, so that i do not have to set the value of every single control by hand. Do anybody know an solution for my problem which is that simple? Thanks

推荐答案

我认为最好的方法是继承每个控件并设置其默认显示属性。这将给你一个标准的WinForms控件的库,你可以轻松地自定义和重用。更多信息这里(在VB中,我找不到示例C#)。

I think your best approach would be to inherit each control and set its default display properties. This would give you a library of the standard WinForms controls that you could easily customize and re-use. More information here (in VB, I couldn't find examples in C#).

这篇关于C#应用广泛的色彩管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆