MDI Child from DLL


V

vovan

I'd like to modularize the application:
MDI form is in the main project, and children forms are in DLLs created in
separate projects.
I have no problem with creating DLL, containing the form and create an
object from that DLL in a separate project. But how to make the form from
DLL be the child of the main form?

Thank you
Vovan
 
Ad

Advertisements

Ad

Advertisements

H

Herfried K. Wagner [MVP]

vovan said:
MDI form is in the main project, and children forms are in DLLs created in
separate projects.
I have no problem with creating DLL, containing the form and create an
object from that DLL in a separate project. But how to make the form from
DLL be the child of the main form?

Assign the main form to its 'MdiParent' property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top