--- title: "How to: Set Up Automatic Menu Merging for MDI Applications" ms.date: "03/30/2017" helpviewer_keywords: - "MenuStrip [Windows Forms], merging" - "Merging [Windows Forms], automatic menu" ms.assetid: 55e32cad-1141-4a56-aa33-d9543ca3d393 --- # How to: Set Up Automatic Menu Merging for MDI Applications The following procedure gives the basic steps for setting up automatic merging in a multiple-document interface (MDI) application with . ### To set up automatic menu merging 1. Create the MDI parent form by setting its property to `true`. 2. Add a to the MDI parent, setting its property to that . 3. Create an MDI child form, and set its property to the name of the parent form. 4. Add a to the MDI child form. 5. On the child form, set the property of the to `false`. 6. Add menu items to the child form's that you want to merge into the parent form's when the child form is activated. 7. Use the property on the menu items in the child form's to control how they merge into the parent form. ## See also - - - [MenuStrip Control Overview](menustrip-control-overview-windows-forms.md)