MDI Child Forms in a DLL, how to bring em up in the MDI Form?

MDI Child Forms in a DLL, how to bring em up in the MDI Form?

Post by Nicholas P » Thu, 09 Jun 2005 03:28:16


Martin,

From the MDI parent, you can load the assembly, along with the type from
the assembly, and then create an instance (cast down to Form) using the
static CreateInstance method on the Activator class. Once you have that,
you can cet the IsMdiChild property on the form to true, and then add the
form to the children of your app.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- XXXX@XXXXX.COM

"Visual Systems AB (Martin Arvidsson)" < XXXX@XXXXX.COM > wrote in