﻿<?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 / Issues  / Inherited Browse Dialog problem / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Sun, 07 Sep 2008 13:46:49 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Inherited Browse Dialog problem</title><link>http://forum.strataframe.net/Topic14357-10-1.aspx</link><description>Yeah that's about what I figured. Thanks for the info.. I am sure I will run into that again</description><pubDate>Wed, 13 Feb 2008 13:49:51 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Inherited Browse Dialog problem</title><link>http://forum.strataframe.net/Topic14357-10-1.aspx</link><description>[quote]I would think that because it ultimatly is a sublclass of browsedialog it should work shouldnt it?[/quote]&lt;/P&gt;&lt;P&gt;No....in fact, I spent a lot of time yesterday trying to get a generic type to work with the ITypeDiscovery interface and the IsSubClassOf.  Since you are two deep, the IsSubClassOf may not work since your browsedialog actually is a direct subclass of your base browsedialog.  You can make it work by "jacking" with some of the options and you may even play with the Type.ReflectionOnlyGetType to see if it returns differently.  But this can get confusing with there are multiple inheritances.</description><pubDate>Wed, 13 Feb 2008 13:41:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Inherited Browse Dialog problem</title><link>http://forum.strataframe.net/Topic14357-10-1.aspx</link><description>I am not sure why IsSubclassof (BrowseDialog) returns false though. I would think that because it ultimatly is a sublclass of browsedialog it should work shouldnt it?&lt;/P&gt;&lt;P&gt;I am set up like this/&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Class&lt;/FONT&gt;&lt;FONT size=2&gt; AL_BrowseDialog'--My Base Class Browse Dialog&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Inherits&lt;/FONT&gt;&lt;FONT size=2&gt; MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;and &lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;Namespace&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; BrowseDialogs&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Class&lt;/FONT&gt;&lt;FONT size=2&gt; CustomerBrowseDialog&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Inherits&lt;/FONT&gt;&lt;FONT size=2&gt; Base.BrowseDialogs.AL_BrowseDialog&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt; No big deal as overriding the function works but just currious&lt;/P&gt;&lt;P&gt;Paul&lt;/FONT&gt;</description><pubDate>Wed, 13 Feb 2008 13:24:31 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Inherited Browse Dialog problem</title><link>http://forum.strataframe.net/Topic14357-10-1.aspx</link><description>I see what is going on. Because my browse dialog is inheriting from my base browse dialog which then inherits from SF.BrowseDialog the &lt;FONT size=2&gt;IsInheritedBrowseDialog fuction is returning false, &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;overriding that function and everythign is happy.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Paul</description><pubDate>Wed, 13 Feb 2008 13:16:27 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Inherited Browse Dialog problem</title><link>http://forum.strataframe.net/Topic14357-10-1.aspx</link><description>[quote]Before I start ripping into this did something change since 1.60 that may cause this?[/quote]&lt;/P&gt;&lt;P&gt;No.  This has nothing to do with the BrowseDialog class, but rather the .NET serialziation designer.  In fact, we take this same approach for all of our browse dialogs in our medical app (and I even created a new one this morning).  One thing that helps, though, is to set the class structure up like a form or user control with the designer file:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/cecf83a0-fa6e-4ee5-8e51-b1a2.png"&gt;</description><pubDate>Wed, 13 Feb 2008 13:14:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Inherited Browse Dialog problem</title><link>http://forum.strataframe.net/Topic14357-10-1.aspx</link><description>Hi ,&lt;/P&gt;&lt;P&gt;My browse dialogs inherit's from my base class browse dialog that inherits from the SF browse dialog. Serialization doesn't seem to work anymore. Now if i make any change to my browse dialog via the property every single stitch of code the was serialized in the init component is "smoked"... and obviusly the property i meant to change is not persisted either. Before I start ripping into this did something change since 1.60 that may cause this?&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Wed, 13 Feb 2008 13:01:24 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item></channel></rss>