Loading Assembly into ToolWindow at runtime

Docking/MDI for Windows Forms Forum

Posted 16 years ago by Miriam Kuruvilla
Version: 2.0.98
Avatar
I am evaluating the Docking controls for use in our application.

I find that if the assembly and its dependencies are referenced in the project and I hardcode the instantiation of the control, then the control loads without issues.

However, for our purposes, we need to be able to .NET assemblies into the ToolWindow at runtime. What is the best way to do this without actually referencing the assembly directly in the project?

If you could provide me with a code snippet that would be great!

Thanks!

Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Miriam,

We don't have any code like that on hand but I'm sure you can find plenty of sample code on loading controls from an Assembly at run-time in the MSDN forums or in Google.

Once you get a Control reference from that code, just add it to the ToolWindow.Controls collection and it will appear in the UI.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.