August 2003
Intermediate to advanced
736 pages
14h 48m
English
Just as controls can be grouped into containers, windows themselves can be grouped into containers in a style of application called Multiple Document Interface (MDI). MDI was invented as a way to contain a set of related windows in a single frame, as shown in Figure 2.31.

An MDI form has two pieces: a parent and a child. You designate the parent form by setting the IsMdiContainer property to true, and you designate the child form by setting the MdiParent property before showing the form:
void InitializeComponent() {
...
this.IsMdiContainer = true; ... } void cmdFileNewChild_Click(object ...Read now
Unlock full access