I am trying to build an application that has a container as the workspace. In this workspace, I can drag and drop windows form and controls. I have get the panel drag and drop working, but I can host window in it.
Please let me know if there is such a container class ready for use.
I am using visual studio 2008 and c#
Thanks
You can use an MdiForm for this. You can either right-click on your project and click
Add | New Item ... | Mdi Parentor take an existing form in your project and set itsIsMdiContainerproperty totrue. To have another form “hosted” by the Mdi form, set the child form’sMdiParentproperty to your Mdi form and then call the child form’sShow()method. The Mdi form can also contain controls just like any other form.