<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mystalia Studios &#187; skins</title>
	<atom:link href="http://www.mystalia.net/tag/skins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mystalia.net</link>
	<description>Coding Studio</description>
	<lastBuildDate>Fri, 19 Mar 2010 01:22:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Visual Studio Custom Skins (Without Paying)</title>
		<link>http://www.mystalia.net/2009/03/visual-studio-custom-skins-without-paying/</link>
		<comments>http://www.mystalia.net/2009/03/visual-studio-custom-skins-without-paying/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 02:48:39 +0000</pubDate>
		<dc:creator>Mystalia</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Learn C#]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[skincrafter]]></category>
		<category><![CDATA[skinning]]></category>
		<category><![CDATA[skins]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[uskin]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.mystalia.net/?p=89</guid>
		<description><![CDATA[It’s a nightmare to get custom skins without paying an arm and a leg for such a simple part of your program. Some companys ask for hundreds of dollars for simple .NET classes, it’s crazy, anyway, here’s a workaround that is 100% legal and 100% free. This screenshot is VERY easy to achieve, no fancy [...]]]></description>
			<content:encoded><![CDATA[<p>It’s a nightmare to get custom skins without paying an arm and a leg for such a simple part of your program. Some companys ask for hundreds of dollars for simple .NET classes, it’s crazy, anyway, here’s a workaround that is 100% legal and 100% free.</p>
<p><img src="http://i43.tinypic.com/2s8ffbo.jpg" border="0" alt="" /></p>
<p>This screenshot is VERY easy to achieve, no fancy software just 1 class, one dll, one msstyle and a few lines of code.</p>
<p>Below are the class file and dll, and i’ve thrown in a couple of msstyles to get you going, theres plenty more on the internet, theres a few on <a href="http://www.skinbase.org/Skins/msstyles/135" target="_blank">SkinBase.org</a>. We are using USkin (<a href="http://www.neemedia.com/newsite/index.php?entry=entry081110-153248" target="_blank">Homepage</a>) its the classes that do all the work, the documentation and examples are terrible but after trial and error I have figured it out and will explain in this article.</p>
<p><a href="http://www.mystalia.net/USkin.zip" target="_blank"></a><a href="http://www.mystalia.net/wp-content/uploads/2009/03/uskin.zip">Download Uskin easy pack here</a></p>
<p>Right click the solution explorer, add an existing item (&#8220;USkinSDK.cs&#8221; and &#8220;USkin.dll&#8221;).<br />
Make sure the dll properties are set to &#8220;Content&#8221; and &#8220;Copy Always&#8221;.<br />
Make sure the class properties are set to &#8220;Compile&#8221; and &#8220;Never Copy&#8221;.</p>
<p>The code is simple.</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">USkin</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// declare it.</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">void</span> Form1_Load<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">object</span> sender, EventArgs e<span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Size presize <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Size</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// Get the correct form size before the GUI mucks it up.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; USkinSDK<span style="color: #008000;">.</span><span style="color: #0000FF;">USkinInit</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;&quot;</span>, <span style="color: #666666;">&quot;&quot;</span>, <span style="color: #666666;">&quot;GUI.msstyles&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// Replace the text accordingly with your msstyles file.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; USkinSDK<span style="color: #008000;">.</span><span style="color: #0000FF;">USkinLoadSkin</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;GUI.msstyles&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// And again here.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Size</span> <span style="color: #008000;">=</span> presize<span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// Re-establish the form size.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span></div></div>
<p>Simple and effective to make your applications look more professional. I will note however that you should get prior permission from the skin creator before using your application commercially, or just create your own, that&#8217;s easy too.</p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mystalia.net/2009/03/visual-studio-custom-skins-without-paying/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
