G
Guest
This is what I would like to do:
- The splitter window splitting the view to a tree view on the left and
entry dialog on the right. The tree view and splitter are easy and it's
already done.
- It is easy to make a fixed form on the right pane, dock it and enjoy it
working.
However, I would like the form on the right pane to be dynamic, i.e.,
depending on a context of the tree view to display different controls and
being managed by a different form derived class.
In MFC I could accomplish this with child dialogs embedded in a parent
dialog and depending on the tree context flipping the child dialogs
visible/invisible.
I can do the same in .NET by using panels with embedded controls, however,
this way everything must be done in the runtime and I lose advantage of
designing a forms in a design time and taking advantage of .NET studio
wizards.
If I could find a way to embed a child form in a parent form, then it would
solve my problem. Is it possible?
Thanks
- The splitter window splitting the view to a tree view on the left and
entry dialog on the right. The tree view and splitter are easy and it's
already done.
- It is easy to make a fixed form on the right pane, dock it and enjoy it
working.
However, I would like the form on the right pane to be dynamic, i.e.,
depending on a context of the tree view to display different controls and
being managed by a different form derived class.
In MFC I could accomplish this with child dialogs embedded in a parent
dialog and depending on the tree context flipping the child dialogs
visible/invisible.
I can do the same in .NET by using panels with embedded controls, however,
this way everything must be done in the runtime and I lose advantage of
designing a forms in a design time and taking advantage of .NET studio
wizards.
If I could find a way to embed a child form in a parent form, then it would
solve my problem. Is it possible?
Thanks