mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-08 16:06:07 +02:00
Initial winforms content migrated (#18)
* 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
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
---
|
||||
title: "How to: Join ToolStripPanels"
|
||||
ms.date: "03/30/2017"
|
||||
dev_langs:
|
||||
- "csharp"
|
||||
- "vb"
|
||||
helpviewer_keywords:
|
||||
- "toolbars [Windows Forms], joining together"
|
||||
- "ToolStripPanel control [Windows Forms], joining together"
|
||||
ms.assetid: 4eadda6d-e3b8-4151-aaf2-a8d564fbe6b3
|
||||
---
|
||||
# How to: Join ToolStripPanels
|
||||
You can join <xref:System.Windows.Forms.ToolStrip> controls to a <xref:System.Windows.Forms.ToolStripPanel> at run time, which provides the flexibility of multiple-document interface (MDI) applications.
|
||||
|
||||
## Example
|
||||
The following code example demonstrates how to join <xref:System.Windows.Forms.ToolStrip> controls to a <xref:System.Windows.Forms.ToolStripPanel>.
|
||||
|
||||
[!code-csharp[System.Windows.Forms.ToolStrip.Misc#11](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/CS/Program.cs#11)]
|
||||
[!code-vb[System.Windows.Forms.ToolStrip.Misc#11](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb#11)]
|
||||
|
||||
## Compiling the Code
|
||||
This example requires:
|
||||
|
||||
- References to the System.Design, System.Drawing, and System.Windows.Forms assemblies.
|
||||
|
||||
## See also
|
||||
|
||||
- <xref:System.Windows.Forms.ToolStrip>
|
||||
- <xref:System.Windows.Forms.ToolStripPanel>
|
||||
- [How to: Use ToolStripPanels for MDI](how-to-use-toolstrippanels-for-mdi.md)
|
||||
Reference in New Issue
Block a user