﻿<?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 » Role Based Security  » Converting to 4.5.2 ...</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 04 Jun 2026 02:53:24 GMT</lastBuildDate><ttl>20</ttl><item><title>Converting to 4.5.2 ...</title><link>http://forum.strataframe.net/FindPost33096.aspx</link><description>&lt;span&gt;Just converted to 4.5.2 and received the following problem:&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;[quote]&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If MicroFour.StrataFrame.UI.Windows.Forms.ApplicationTheme.Theme &amp;lt;&amp;gt; System.Windows.Forms.ApplicationThemeName.NoTheme Then&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lblTitle.ForeColor = MicroFour.StrataFrame.UI.Windows.Forms.ApplicationTheme.ThemeProperties.BorderColor&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lblMessage.ForeColor = MicroFour.StrataFrame.UI.Windows.Forms.ApplicationTheme.ThemeProperties.BorderColor&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;[/quote]&lt;/span&gt;&lt;br/&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;It is located in the class FromLockPanel within the MicroFour StrataFrame Security solution. &amp;nbsp;The error is 'ApplicationThemeName' is not a member of 'Forms' &amp;nbsp;Evidently my Google foo is not what is should be as I searched rather ardently for a solution.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;Finally, I simply commented it out as it appears to be an area of code my implementations rarely visit. &amp;nbsp;Still, I'd like to know what is going on.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;Kindest of regards,&lt;/span&gt;&lt;/span&gt;</description><pubDate>Thu, 17 Sep 2015 12:59:10 GMT</pubDate><dc:creator>Charles Thomas Blankenship</dc:creator></item><item><title>RE: Converting to 4.5.2 ...</title><link>http://forum.strataframe.net/FindPost33108.aspx</link><description>Yawp ... that did it Ben ... thanks!</description><pubDate>Thu, 17 Sep 2015 12:59:10 GMT</pubDate><dc:creator>Charles Thomas Blankenship</dc:creator></item><item><title>RE: Converting to 4.5.2 ...</title><link>http://forum.strataframe.net/FindPost33104.aspx</link><description>CT, when we switched to 4.5.2, I had to change a bunch of places that said Windows.Forms.DialogResult.OK/Cancel to System.Windows.Forms.DialogResult.OK/Cancel. &amp;nbsp;For some reason, maybe because of a new Windows.Forms namespace, you have to qualify Windows.Forms with System. &amp;nbsp;I think your code used to say "MicroFour.StrataFrame.UI.Windows.Forms.ApplicationTheme.Theme &amp;lt;&amp;gt; Windows.Forms.ApplicationThemeName.NoTheme" and you might have used some sort of automated method to upgrade to 4.5.2. &amp;nbsp;Maybe VS even did it for you, I don't know. &amp;nbsp;That automated method probably saw Windows.Forms with nothing in front of it and added System to it. &amp;nbsp;That enum is in the MicroFour.StrataFrame.UI.Windows.Forms namespace, not System.Windows.Forms. &amp;nbsp;So, if you change the If test to "MicroFour.StrataFrame.UI.Windows.Forms.ApplicationTheme.Theme &amp;lt;&amp;gt; MicroFour.StrataFrame.UI.Windows.Forms.ApplicationThemeName.NoTheme", then you will be fixed.</description><pubDate>Thu, 17 Sep 2015 07:15:50 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>