mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-07 07:56:07 +02:00
* Merge winforms framework content to working branch (#14) * Breadcrumb / TOC / Move net5 to net folder (#15) * change path from net5 to net * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Add .net 5 winforms placeholder article (#16) * added some metadata and adjusted net5 placeholder * corrections * corrections * corrections * Test1 * Swapping landing page vs concept * fix links * Fix links * Fix desc
1.6 KiB
1.6 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| How to: Create an MDI Form with Menu Merging and ToolStrip Controls | 03/30/2017 |
|
|
64992ed9-44af-4baf-b45f-863e6ab35711 |
How to: Create an MDI Form with Menu Merging and ToolStrip Controls
The xref:System.Windows.Forms?displayProperty=nameWithType namespace supports multiple document interface (MDI) applications, and the xref:System.Windows.Forms.MenuStrip control supports menu merging. MDI forms can also xref:System.Windows.Forms.ToolStrip controls.
There is extensive support for this feature in Visual Studio.
Also see Walkthrough: Creating an MDI Form with Menu Merging and ToolStrip Controls.
Example
The following code example demonstrates how to use xref:System.Windows.Forms.ToolStripPanel controls with an MDI form. The form also supports menu merging with child menus.
[!code-csharpSystem.Windows.Forms.ToolStrip.MdiForm#1] [!code-vbSystem.Windows.Forms.ToolStrip.MdiForm#1]
Compiling the Code
This code example requires:
- References to the System.Drawing and System.Windows.Forms assemblies.