You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/step-1-create-a-project-and-add-a-table-to-your-form.md
+30-4Lines changed: 30 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,21 +21,47 @@ The first step in creating a matching game is to create the project and add a ta
21
21
22
22
1. On the menu bar, choose **File** > **New** > **Project**.
23
23
24
+
1. In the **Installed Templates** list, choose either **C#** or **Visual Basic**, and then choose **Windows Desktop**.
25
+
26
+
1. In the list of templates, choose the **Windows Forms App (.NET Framework)** template, name it *MatchingGame*, and then choose the **OK** button.
27
+
28
+
A form that's named *Form1.cs* or *Form1.vb* appears, depending on the programming language that you chose.
29
+
30
+
> [!NOTE]
31
+
> If you don't see the **Windows Forms App (.NET Framework)** template, use the Visual Studio Installer to install the **.NET desktop development** workload.<br/><br/><br/><br/> For more information, see the [Install Visual Studio](../install/install-visual-studio.md) page.
32
+
24
33
::: moniker-end
25
34
26
35
::: moniker range="vs-2019"
27
36
28
37
1. On the start window, choose **Create a new project**.
29
38
30
-
1. In the search box, type "WPF", choose **WPF App (.NET Framework)**, and then choose **Next**.
39
+

31
40
32
-
(If you don't see the **WPF App (.NET Framework)**template, use the Visual Studio Installer to install the **.NET desktop development** workload.)
41
+
1. On the **Create a new project**window, enter or type *Windows Forms* in the search box.
33
42
34
-
1. Give the project a name, **MatchingGame**, and choose **Create**
43
+
1. Choose the **Windows Forms App (.NET Framework)** template, and then choose **Next**.
44
+
45
+

46
+
47
+
> [!NOTE]
48
+
> If you do not see the **Windows Forms App (.NET Framework)** template, you can install it from the **Create a new project** window. In the **Not finding what you're looking for?** message, choose the **Install more tools and features** link.
49
+
>
50
+
> 
51
+
>
52
+
> Next, in the Visual Studio Installer, choose the Choose the **.NET desktop development** workload.
53
+
>
54
+
> 
55
+
>
56
+
> After that, choose the **Modify** button in the Visual Studio Installer. You might be prompted to save your work; if so, do so. Next, choose **Continue** to install the workload.
57
+
58
+
1. In the **Configure your new project** window, type or enter *MatchingGame* in the **Project name** box. Then, choose **Create**.
35
59
36
60
::: moniker-end
37
61
38
-
2. If you're not using Visual Studio Express, you need to select a programming language first. From the **Installed Templates** list, choose either **Visual C#** or **Visual Basic**.
62
+
## To set properties for a form
63
+
64
+
39
65
40
66
3. In the list of project templates, choose **Windows Forms Application**, name the project **MatchingGame**, and then choose the **OK** button.
Copy file name to clipboardExpand all lines: docs/ide/step-1-create-a-project-and-add-labels-to-your-form.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,14 @@ As the first steps in developing this quiz, you create the project, and you add
24
24
25
25
1. On the menu bar, choose **File** > **New** > **Project**.
26
26
27
-
1. In the **Installed Templates** list, choose either **C#** or **Visual Basic**.
27
+
1. In the **Installed Templates** list, choose either **C#** or **Visual Basic**, and then choose **Windows Desktop**.
28
28
29
-
1. In the list of templates, choose the **Windows Forms Application** template, name it **MathQuiz**, and then choose the **OK** button.
29
+
1. In the list of templates, choose the **Windows Forms App (.NET Framework)** template, name it *MathQuiz*, and then choose the **OK** button.
30
30
31
-
A form that's named *Form1.cs* or *Form1.vb* appears, depending on the programming language that you chose.
31
+
A form that's named *Form1.cs* or *Form1.vb* appears, depending on the programming language that you chose.
32
+
33
+
> [!NOTE]
34
+
> If you don't see the **Windows Forms App (.NET Framework)** template, use the Visual Studio Installer to install the **.NET desktop development** workload.<br/><br/><br/><br/> For more information, see the [Install Visual Studio](../install/install-visual-studio.md) page.
2. Choose either **Visual C#** or **Visual Basic** on the left side of the **New Project** dialog box.
29
+
2. Choose either **Visual C#** or **Visual Basic** on the left side of the **New Project** dialog box, and then choose **Windows Desktop**.
31
30
32
-
3. In the templates list, choose **Windows Forms App (.NET Framework)**. Name the new form **PictureViewer**, and then choose the **OK** button.
31
+
3. In the templates list, choose **Windows Forms App (.NET Framework)**. Name the new form *PictureViewer*, and then choose the **OK** button.
33
32
34
33
>[!NOTE]
35
34
>If you don't see the **Windows Forms App (.NET Framework)** template, use the Visual Studio Installer to install the **.NET desktop development** workload.<br/><br/><br/><br/> For more information, see the [Install Visual Studio](../install/install-visual-studio.md) page.
0 commit comments