|
2 | 2 | title: "Create a Windows Forms app with C#" |
3 | 3 | description: Create a Windows Forms app in Visual Studio with C#, add button controls to the form, and run the code to test your application. |
4 | 4 | ms.custom: vs-acquisition |
5 | | -ms.date: 01/24/2025 |
| 5 | +ms.date: 02/26/2025 |
6 | 6 | ms.topic: tutorial |
7 | 7 | ms.devlang: csharp |
8 | 8 | author: anandmeg |
@@ -114,8 +114,8 @@ After you select your C# project template and name your project, Visual Studio o |
114 | 114 |
|
115 | 115 | :::image type="content" source="../ide/media/vb-button-control-function.png" alt-text="Screenshot showing the new name for the button."::: |
116 | 116 |
|
117 | | - > [!NOTE] |
118 | | - > If you alphabetized the list in the **Properties** window, **Button1** appears in the **(DataBindings)** section, instead. |
| 117 | + If you alphabetized the list in the **Properties** window, **Button1** appears in the **(DataBindings)** section, instead. |
| 118 | + You can [dock or anchor](/dotnet/desktop/winforms/controls/how-to-dock-and-anchor) the controls on your form to help with automatic placement and sizing, when the form changes size. |
119 | 119 |
|
120 | 120 | ### Add a label to the form |
121 | 121 |
|
@@ -167,8 +167,8 @@ After you select your C# project template and name your project, Visual Studio o |
167 | 167 |
|
168 | 168 | :::image type="content" source="media/vs-2022/csharp-winform-button-properties-design-name.png" alt-text="Screenshot that shows the new name for the button."::: |
169 | 169 |
|
170 | | - > [!NOTE] |
171 | | - > If you alphabetized the list in the **Properties** window, **button1** appears in the **(DataBindings)** section, instead. |
| 170 | + If you alphabetized the list in the **Properties** window, **Button1** appears in the **(DataBindings)** section, instead. |
| 171 | + You can [dock or anchor](/dotnet/desktop/winforms/controls/how-to-dock-and-anchor) the controls on your form to help with automatic placement and sizing, when the form changes size. |
172 | 172 |
|
173 | 173 | ### Add a label to the form |
174 | 174 |
|
|
0 commit comments