Subclass Ingerited UI


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.  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.  That is the first thing that comes to mind.
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

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.



using System.ComponentModel;



namespace JK.Framework.UI.Windows.Forms.DevEx

{

[Designer(typeof(System.Windows.Forms.Design.ControlDesigner))]

public partial class TextEdit : MicroFour.StrataFrame.UI.Windows.Forms.DevEx.TextEdit

{

public TextEdit()

{

InitializeComponent();

}



public TextEdit(IContainer container)

{

container.Add(this);



InitializeComponent();

}

}

}





Any ideas?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search