Skip to content

Commit 794bb16

Browse files
committed
apply consistency to VS2017 & VS2019 'create project' text
1 parent 11f6eaf commit 794bb16

3 files changed

+11
-16
lines changed

docs/ide/step-1-create-a-project-and-add-a-table-to-your-form.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Step 1: Create a project and add a table to your form"
3-
ms.date: 11/04/2016
3+
ms.date: 05/31/2019
44
ms.topic: conceptual
55
ms.prod: visual-studio-windows
66
ms.technology: vs-ide-general
@@ -21,7 +21,7 @@ The first step in creating a matching game is to create the project and add a ta
2121

2222
1. On the menu bar, choose **File** > **New** > **Project**.
2323

24-
1. In the **Installed Templates** list, choose either **C#** or **Visual Basic**, and then choose **Windows Desktop**.
24+
1. Choose either **Visual C#** or **Visual Basic** on the left side of the **New Project** dialog box, and then choose **Windows Desktop**.
2525

2626
1. In the list of templates, choose the **Windows Forms App (.NET Framework)** template, name it *MatchingGame*, and then choose the **OK** button.
2727

@@ -61,19 +61,15 @@ The first step in creating a matching game is to create the project and add a ta
6161

6262
## To set properties for a form
6363

64-
65-
66-
3. In the list of project templates, choose **Windows Forms Application**, name the project **MatchingGame**, and then choose the **OK** button.
67-
68-
4. In the **Properties** window, set the following form properties.
64+
1. In the **Properties** window, set the following form properties.
6965

7066
1. Change the form's **Text** property from **Form1** to **Matching Game**. This text appears at the top of the game window.
7167

7268
2. Set the size of the form to 550 pixels wide by 550 tall. You can do this either by setting the **Size** property to **550, 550**, or by dragging the corner of the form until you see the correct size in the lower-right corner of the integrated development environment (IDE).
7369

74-
5. Display the toolbox by choosing the **Toolbox** tab on the left side of the IDE.
70+
2. Display the toolbox by choosing the **Toolbox** tab on the left side of the IDE.
7571

76-
6. Drag a <xref:System.Windows.Forms.TableLayoutPanel> control from the **Containers** category in the toolbox, and then set the following properties for it.
72+
3. Drag a <xref:System.Windows.Forms.TableLayoutPanel> control from the **Containers** category in the toolbox, and then set the following properties for it.
7773

7874
1. Set the **BackColor** property to **CornflowerBlue**. To do this, open the **BackColor** dialog box by choosing the drop-down arrow next to the **BackColor** property in the **Properties** window. Then, choose the **Web** tab in the **BackColor** dialog box to view a list of available color names.
7975

@@ -92,7 +88,7 @@ The first step in creating a matching game is to create the project and add a ta
9288

9389
Your TableLayoutPanel should now be a 4x4 grid, with sixteen equally sized square cells. These rows and columns are where the icon images will appear later.
9490

95-
7. Be certain that the TableLayoutPanel is selected in the form editor. To verify this, you should see **tableLayoutPanel1** at the top of the **Properties** window. If it is not selected, choose the TableLayoutPanel on the form, or choose it in the dropdown control at the top of the **Properties** window.
91+
4. Be certain that the TableLayoutPanel is selected in the form editor. To verify this, you should see **tableLayoutPanel1** at the top of the **Properties** window. If it is not selected, choose the TableLayoutPanel on the form, or choose it in the dropdown control at the top of the **Properties** window.
9692

9793
While the TableLayoutPanel is selected, open the toolbox and add a <xref:System.Windows.Forms.Label> control (located in the **Common Controls** category) to the upper-left cell of the TableLayoutPanel. The label control should now be selected in the IDE. Set the following properties for it.
9894

@@ -115,15 +111,14 @@ The first step in creating a matching game is to create the project and add a ta
115111
> [!NOTE]
116112
> The Webdings font is a font of icons that ships with the Windows operating system. In your matching game, the player needs to match pairs of icons, so you use this font to display the icons to match. Instead of putting **c** in the **Text** property, try entering different letters to see what icons are displayed. An exclamation point is a spider, an uppercase N is an eye, and a comma is a chili pepper.
117113
118-
8. Choose your Label control and copy it to the next cell in the TableLayoutPanel. (Choose the **Ctrl**+**C** keys, or on the menu bar, choose **Edit** > **Copy**.) Then paste it. (Choose the **Ctrl**+**V** keys, or on the menu bar, choose **Edit** > **Paste**.) A copy of the first Label appears in the second cell of the TableLayoutPanel. Paste it again, and another Label appears in the third cell. Keep pasting Label controls until all of the cells are filled.
114+
5. Choose your Label control and copy it to the next cell in the TableLayoutPanel. (Choose the **Ctrl**+**C** keys, or on the menu bar, choose **Edit** > **Copy**.) Then paste it. (Choose the **Ctrl**+**V** keys, or on the menu bar, choose **Edit** > **Paste**.) A copy of the first Label appears in the second cell of the TableLayoutPanel. Paste it again, and another Label appears in the third cell. Keep pasting Label controls until all of the cells are filled.
119115

120116
> [!NOTE]
121117
> If you paste too many times, the IDE adds a new row to the TableLayoutPanel so that it has a place to add your new Label control. You can undo it. To remove the new cell, choose the **Ctrl**+**Z** keys, or on the menu bar, choose **Edit** > **Undo**.
122118
123119
Now your form is laid out. It should look like the following picture.
124120

125-
![Initial matching game form](../ide/media/express_tut4step1.png)
126-
Initial matching game form
121+
![Initial matching game form](../ide/media/express_tut4step1.png)<br/> Initial matching game form
127122

128123
## To continue or review
129124

docs/ide/step-1-create-a-project-and-add-labels-to-your-form.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ As the first steps in developing this quiz, you create the project, and you add
2424

2525
1. On the menu bar, choose **File** > **New** > **Project**.
2626

27-
1. In the **Installed Templates** list, choose either **C#** or **Visual Basic**, and then choose **Windows Desktop**.
27+
1. Choose either **Visual C#** or **Visual Basic** on the left side of the **New Project** dialog box, and then choose **Windows Desktop**.
2828

2929
1. In the list of templates, choose the **Windows Forms App (.NET Framework)** template, name it *MathQuiz*, and then choose the **OK** button.
3030

@@ -62,7 +62,7 @@ As the first steps in developing this quiz, you create the project, and you add
6262

6363
::: moniker-end
6464

65-
## To create set properties for a form
65+
## To set properties for a form
6666

6767
1. In Visual Studio, choose the form (either *Form1.cs* or *Form1.vb*, depending on the programming language), and then change its **Text** property to **Math Quiz**.
6868

docs/ide/step-1-create-a-windows-forms-application-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Step 1: Create a Windows Forms Application project"
3-
ms.date: 05/31/2019
3+
ms.date: 06/01/2019
44
ms.prod: visual-studio-windows
55
ms.technology: vs-ide-general
66
ms.topic: conceptual

0 commit comments

Comments
 (0)