Framework 2.0 - Skins in Windows Forms

Hi all,

I'm writing a windows forms c# app, and i need to apply skins to the forms.

Searching google, i found several .net components (commercial ones:( ), that could do the job.

Meanwhile i ran across an article about the new SkinID property in the 2.0 framework.

How exactly does this property works, is it suitable for changing the skin of windows Forms and controls? (similar to dotNetSkin but without the fancy interface?)

best wishes
Joao

[460 byte] By [jpmv] at [2007-12-17]
# 1
Skin ID is only available for webforms applications, not winforms. Here are some links that may help you ...

http://www.codeproject.com/csharp/bmprgnform.asp
http://www.codeproject.com/csharp/nonRectangularForm.asp
http://www.codeproject.com/dotnet/GraphicalForms.asp

here's some button examples too:
http://www.codeproject.com/cs/miscctrl/XCtrls.asp
http://www.codeproject.com/cs/miscctrl/TransButtonNetDemo.asp

Mac OS X button:
http://www.codeproject.com/cs/miscctrl/aquabutton.asp

As you can see, I'm a fan of codeproject. Big Smile

Hope this helps,
Josh Lindenmuth

JoshLindenmuth at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 2
Tongue Tied not available for windows applications? damn.... that's not good news...
I've checked your codeproject links, they have good ideias, but it would mean lots of work.

Do you know an easy (not commercial) way of applying skins to windows forms? 2 or 3 skins would do the job..

There was a vb component "vbskinner" that did what i want for VB6.0 ... something like that for .NET would be great...

thanks
Joao

jpmv at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 3

I don't think there's an easier way per se. It really depends on what you want to do. If you want each skin to make your form a different shape, the amount of work will be more than if you just want the form's buttons and background to look different. For example, you could change the background image on your form pretty easily, just as you could change your buttons pretty easily using the last link from above (aquabutton).

Here's another link that may be helpful:
http://www.codeproject.com/csharp/shapedform.asp

Best of Luck,
Josh Lindenmuth

JoshLindenmuth at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified