<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : SkinFramework disappearing bug?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : SkinFramework disappearing bug?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 16 Apr 2026 22:00:05 +0000</pubDate>
  <lastBuildDate>Thu, 21 Jan 2010 09:56:58 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=16051</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[SkinFramework disappearing bug? :  Hi,I&amp;#039;ve been playing around...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16051&amp;PID=56268&amp;title=skinframework-disappearing-bug#56268</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5836">ilodewij</a><br /><strong>Subject:</strong> 16051<br /><strong>Posted:</strong> 21 January 2010 at 9:56am<br /><br />Hi,<br><br>I've been playing around with SkinFramework and it seems to work nicely for VB6.<br><br>In .net2.0 I do have an issue. I don't know if my program setup is wrong or not, but this is the situation.<br><br>I have one windows form named Template. Form1 and Form2 inherit the settings of the Template form. In the Template form I have configured the settings for SkinFramework. On form1 I have a button which opens form2.<br><br>When I run the program, form1 opens with the correct skin. When I click my button, form2 opens with the correct skin.<br><br>Now, when I close form2, the skin applied by the SkinFramework disappears from all open forms and I have the default System skin.<br><br>Now I am wondering, if my setup is correct. Can I define SkinFramework on a template form for use by other forms, or do I configure SkinFramework on every form present in my solution? Or, is there a third solution?<br><br>This is the code used in the constructor of the Template form (the control is put on the form with the designer):<br><br><font face="Courier New, Courier, mono">public Template()</font><br><font face="Courier New, Courier, mono">{&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; InitializeComponent();&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </font><br><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; string skinFolder = System.IO.Path.GetDirectoryName(Application.ExecutablePath) + "\\Office2007.cjstyles";</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; axSkinFramework.LoadSkin(skinFolder, "NormalAqua.ini");</font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; axSkinFramework.ApplyWindow(this.Handle.ToInt32());</font><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; </font><br><font face="Courier New, Courier, mono">}</font><br>]]>
   </description>
   <pubDate>Thu, 21 Jan 2010 09:56:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16051&amp;PID=56268&amp;title=skinframework-disappearing-bug#56268</guid>
  </item> 
 </channel>
</rss>