954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

dll plugin interacting with main form.

Hi all,

I have been reading up on creating a C# application that can take plugin and understand the principals of that. However all the examples read have it so that when the DLL is called it creates its own form with controls on it.

What I would like to do is have just one Main form (part of the main application) and all the called DLLs to add their controls and events to this main form (this way it will all look a little more integrated).

Is this possible? I guess when you activate a dll (my application will only allow one dll to be active at a time) you will have to pass it a handle to the Main Form, correct? And how do I make sure that these controls events are called when appropriate?

Has anyone done anything like this?

Thanks

thegrovesy
Newbie Poster
9 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: