mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-06 07:56:06 +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.3 KiB
1.3 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | |||
|---|---|---|---|---|---|---|---|
| How to: Add a Control to a ToolStripContentPanel | 03/30/2017 |
|
|
fa410960-bf1a-42fc-80e8-f2e27fb3dbb8 |
How to: Add a Control to a ToolStripContentPanel
You can programmatically add one or more controls to a xref:System.Windows.Forms.ToolStripContentPanel.
Example
The following code example demonstrates how to add a xref:System.Windows.Forms.RichTextBox to a xref:System.Windows.Forms.ToolStripContentPanel.
[!code-csharpSystem.Windows.Forms.ToolStripContainer#1] [!code-vbSystem.Windows.Forms.ToolStripContainer#1]
Compiling the Code
This code example requires:
- References to the System, System.Data and System.Windows.Forms assemblies.