Dll
I wrote a dll with forms using C# and was just wondering how I can open up one of the forms from that dll using an executable I am writing...
With what would I be able to manage to do this? Where can I start?
Thanks,
Phil.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

AlanRank #669 · 3.6K reputationPosted Jun 2, 2007, 2:30 PM EDT
If your form class in the dll was inside a namespace, then add the appropriate 'using' directive to your current project.
Finally, to create an instance of your form and open it, you'll need code like this;
MyForm mf = new MyForm();
mf.Show(); // or use ShowDialog() to display the form modally
Phil3 reputationPosted Jun 4, 2007, 1:33 PM EDT