你如何在C#中创建一个主题? [英] How do you create a theme in C#?

查看:119
本文介绍了你如何在C#中创建一个主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力寻找可以帮助我的适当教程,但我发现绝对没有!



我总是最终看到一个主题库一个名叫AeonHack的人已经制作了,但我不知道那个主题基础是什么或它做了什么,但它并不重要,因为我想自己创造一切。我知道之前已经问过这个问题,但没有给出的答案对我有用。另外,请不要建议我使用WPF,我不打算使用WPF。我更喜欢使用Windows Forms。请不要给我一个链接到一个网站,该网站提供了我应该使用的一些代码,没有任何解释等。我想从头开始创建一个主题。



感谢您的阅读,伙计。

I've been trying for days to find proper tutorials that could help me, but I have found absolutely none!

I always end up looking at a themebase that a guy named AeonHack has made, but I don't know what that themebase thing is or what it does, but it doesn't matter because I want to create everything myself. I know this question has been asked before, but none of the answers that were given worked for me. Also, please don't recommend me to use WPF, I'm not going to use WPF. I'd much, much rather use Windows Forms. Please, please don't give me a link to a website that provides some sort of code that I should just use with no explanation and such. I want to create a theme from scratch.

Thanks for reading, guys.

推荐答案

我找到了AeonHack(感谢Pikoh告诉我)继承标准控件然后改变它们的外观。显然没有主题这样的东西,所以必须继承标准控件然后使用GDI +来编辑控件的外观。
I found out that AeonHack (Thanks Pikoh for telling me) is inheriting the standard controls and then changing their appearance. Apparently there's no such thing as "theming", so one has to inherit the standard controls and then use GDI+ to edit the way the control looks.


这篇关于你如何在C#中创建一个主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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