Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Multiple-document interface (MDI) applications enable you to display multiple documents at the same time, with each document displayed in its own window. MDI applications often have a Window menu item with submenus for switching between windows or documents.
Note
There are some behavior differences between MDI forms and single-document interface (SDI) windows in Windows Forms. The Opacity
property does not affect the appearance of MDI child forms. Additionally, the CenterToParent method does not affect the behavior of MDI child forms.
How to: Create MDI Parent Forms
Gives directions for creating the container for the multiple documents within an MDI application.
How to: Create MDI Child Forms
Gives directions for creating one or more windows that operate within an MDI parent form.
How to: Determine the Active MDI Child
Gives directions for verifying the child window that has focus (and sending its contents to the Clipboard).
How to: Send Data to the Active MDI Child
Gives directions for transporting information to the active child window.
How to: Arrange MDI Child Forms
Gives directions for tiling, cascading, or arranging the child windows of an MDI application.
.NET Desktop feedback feedback
.NET Desktop feedback is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Create multi-page .NET MAUI apps with tab and flyout navigation - Training
Use .NET Multi-platform App UI (MAUI) shell to create multi-page applications with tabs and flyout navigation.
Documentation
How to: Determine the Active MDI Child - Windows Forms .NET Framework
Learn how to determine the active MDI child using the ActiveMdiChild property, which returns the child form that has the focus or that was most recently active.
How to: Create MDI Parent Forms - Windows Forms .NET Framework
Learn how to create an MDI parent form programmatically and by using the Windows Forms Designer.
How to: Create MDI Child Forms - Windows Forms .NET Framework
Learn how to use Visual Studio to create a Multiple-Document Interface (MDI) child form that displays a RichTextBox control.