| title | ms.custom | ms.date | ms.prod | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | dev_langs | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | manager | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
How to: Use ToolStripPanels for MDI |
03/30/2017 |
.net-framework |
|
article |
|
|
d6b884fc-0846-465f-83c3-5dc0fe93b00f |
8 |
dotnet-bot |
dotnetcontent |
wpickett |
How to: Use ToolStripPanels for MDI
The xref:System.Windows.Forms.ToolStripPanel provides flexibility for multiple-document interface (MDI) applications by using the xref:System.Windows.Forms.ToolStripPanel.Join%2A method.
Example
The following code example demonstrates how to use xref:System.Windows.Forms.ToolStripPanel controls for MDI.
[!code-csharpSystem.Windows.Forms.ToolStrip.Misc#10] [!code-vbSystem.Windows.Forms.ToolStrip.Misc#10]
Compiling the Code
This example requires:
- References to the System.Design, System.Drawing, and System.Windows.Forms assemblies.
For information about building this example from the command line for [!INCLUDEvbprvb] or [!INCLUDEcsprcs], see Building from the Command Line or Command-line Building With csc.exe. You can also build this example in [!INCLUDEvsprvs] by pasting the code into a new project. Also see How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio.
See Also
xref:System.Windows.Forms.ToolStripPanel
How to: Join ToolStripPanels