E
Eric W. Holzapfel
Hello C#,
I am trying to create an MDI app in C# (Windows
Application). I have a "container" window. I would like
to add more than one child window to the container (2 for
starters). I would like to display one child first, and
when user clicks button of child1, child1 disappears, and
child2 displays. I would prefer to have one child open at
a time. I am assuming that I can have a method in the
Parent form - that can open and close child forms.
I would like to be able to pass either the form (i.e.
Child1, or Child2, etc), and then hide/close the active
child, and display the new child.
I have seen help info for creating multiple forms, but it
is not by name, but new instances of "form x" etc.
What is the proper way to open and close child forms by
name. (I may switch from buttons on a child form, to the
menu bar scheme, etc, since it is more "Windows" like).
Thanks,
eric
I am trying to create an MDI app in C# (Windows
Application). I have a "container" window. I would like
to add more than one child window to the container (2 for
starters). I would like to display one child first, and
when user clicks button of child1, child1 disappears, and
child2 displays. I would prefer to have one child open at
a time. I am assuming that I can have a method in the
Parent form - that can open and close child forms.
I would like to be able to pass either the form (i.e.
Child1, or Child2, etc), and then hide/close the active
child, and display the new child.
I have seen help info for creating multiple forms, but it
is not by name, but new instances of "form x" etc.
What is the proper way to open and close child forms by
name. (I may switch from buttons on a child form, to the
menu bar scheme, etc, since it is more "Windows" like).
Thanks,
eric