Creating MDI Forms

All the projects you've created so far have been single-document interface (SDI) projects. In SDI programs, every form in the application is a peer of all other forms; no intrinsic hierarchy exists between forms. Visual C# .NET also lets you create multiple-document interface (MDI) programs. An MDI program contains one parent window (also called a container) and one or more child windows. A classic example of an MDI program is Adobe Photoshop. When you run Photoshop, a single parent window appears. Within this parent window, you can open any number of documents, which appear in child windows. In an MDI program, all child windows share the same toolbar and menu bar, which appears on the parent window. One restriction of child ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.