﻿<?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?)  » Subclass Ingerited UI</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 02:03:24 GMT</lastBuildDate><ttl>20</ttl><item><title>Subclass Ingerited UI</title><link>http://forum.strataframe.net/FindPost10411.aspx</link><description>Hi,&lt;br&gt;
I have problem to drop my subclassed SF inherited UI control to form. The control dropped is just dissapear. It is just a simple inheritance.&lt;br&gt;
&lt;br&gt;
[codesnippet]using System.ComponentModel;&lt;br&gt;
&lt;br&gt;
namespace JK.Framework.UI.Windows.Forms.DevEx&lt;br&gt;
{&lt;br&gt;
    [Designer(typeof(System.Windows.Forms.Design.ControlDesigner))]&lt;br&gt;
    public partial class TextEdit : MicroFour.StrataFrame.UI.Windows.Forms.DevEx.TextEdit&lt;br&gt;
    {&lt;br&gt;
        public TextEdit()&lt;br&gt;
        {&lt;br&gt;
            InitializeComponent();&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
        public TextEdit(IContainer container)&lt;br&gt;
        {&lt;br&gt;
            container.Add(this);&lt;br&gt;
&lt;br&gt;
            InitializeComponent();&lt;br&gt;
        }&lt;br&gt;
    }&lt;br&gt;
}&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
Any ideas?</description><pubDate>Wed, 18 Jul 2007 13:11:43 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Subclass Ingerited UI</title><link>http://forum.strataframe.net/FindPost10415.aspx</link><description>If your assembly is stored in the GAC (c:\windows\assembly) folder and you rebuild your project, you will have to get out of Visual Studio and come back in before the control can be dropped on a form, even though it may show up in the toolbox.&amp;nbsp; The reason is that the as that the assembly in which the control you are creating is already loaded into the AppDomain and does not get reloaded properly when the assembly is in the GAC until you get out and come back in.&amp;nbsp; That is the first thing that comes to mind.</description><pubDate>Wed, 18 Jul 2007 13:11:43 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>