﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Adding Custom Application Theme</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 09:35:06 GMT</lastBuildDate><ttl>20</ttl><item><title>Adding Custom Application Theme</title><link>http://forum.strataframe.net/FindPost22715.aspx</link><description>I seem to be missing something in the documentation...how to connect a newly designed theme to my application.  I can create the theme...save the theme...generate the class...set the solution preference to the new theme...but, when I run the application, the new theme is not used.  I added the following to the program.cs file:&lt;br&gt;
&lt;br&gt;
ApplicationTheme.Theme = ApplicationThemeName.Custom;&lt;br&gt;
&lt;br&gt;
however, that does not seem to matter either.  I closed VS, then reopened...still no change.&lt;br&gt;
&lt;br&gt;
Interesting note...if I open the Solution Preferences window, the first time, it uses the standard theme; however, the next and subsequent times that I open it, it shows the applied theme in that &amp;#119;indow.&lt;br&gt;
&lt;br&gt;
So, how do I get my custom theme applied to the application?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Bill</description><pubDate>Wed, 15 Apr 2009 08:53:26 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Adding Custom Application Theme</title><link>http://forum.strataframe.net/FindPost22725.aspx</link><description>Yup, that would do it.&amp;nbsp; Thanks, I am glad it is working well for you! :)</description><pubDate>Wed, 15 Apr 2009 08:53:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Adding Custom Application Theme</title><link>http://forum.strataframe.net/FindPost22716.aspx</link><description>Figures...two minutes after I post, I found the answer.  In the program.cs file, I added:&lt;br&gt;
&lt;br&gt;
ApplicationTheme.LoadCustomTheme(typeof(MyTheme));&lt;br&gt;
&lt;br&gt;
That did it.  Thanks StrataFrame team...that theme editor is a dream!</description><pubDate>Tue, 14 Apr 2009 18:47:21 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>