How to apply a .msstyles to a .NET app?

ε祈祈猫儿з 提交于 2021-02-11 15:01:11

问题


I code GUIs in .NET frequently, and most of them only have the value of being a GUI, e.g. they don't do anything otherwise impossible. So most of the development goes to making them friendly, intuitive and eye-candy.

Then it comes to my mind it would be simply amazing to skin them through .msstyles files, since there are so many places to find those files, and also tools to make your own. And some of those msstyles are just stunning, probably not for your whole desktop, but for styling homemade apps it would be perfect.

So, is it possible to style apps in .NET (either VB or C#) using .msstyles (or maybe something similar, since .aero.msstyles, .theme, etc. should be convertable to some point)? Even if it requirired some complicated setup or something to learn, once made practical all GUI development would be much easier. Maybe some sort of virtualization? I don't know how virtualization works behind the scenes, but I believe the .NET app calls some Windows API to give him the style, maybe virtualizing that would work? how?

Any idea is very welcome! And if I find an answer to that I'll contribute it as well :)


回答1:


If you want to theme your own GUI then why don't you use WPF?




回答2:


Ok, I've found something that may work:

http://www.codeproject.com/KB/library/USkin.aspx?display=Print

If someone provides a better answer, of course, place it here, as I would not choose my own answer unless this question remains here long enough as to be called dead (how much that would be? a week? a month?)

Update: for $60, a good solution with possibility to convert msstyles as well:

http://www.ksdev.com/skinengine/index.html

I'll try both and report my experience eventually.

Update 2: SkinSoft's Visual Styler seems quite good too.



来源:https://stackoverflow.com/questions/1889024/how-to-apply-a-msstyles-to-a-net-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!