Skip to content

Commit 11f6eaf

Browse files
committed
refine VS2017 'create project' section
1 parent cd10667 commit 11f6eaf

3 files changed

+41
-13
lines changed

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

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,47 @@ 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**.
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/>![.NET desktop development workload in the Visual Studio Installer](../ide/media/dot-net-desktop-dev-workload.png)<br/><br/> For more information, see the [Install Visual Studio](../install/install-visual-studio.md) page.
32+
2433
::: moniker-end
2534

2635
::: moniker range="vs-2019"
2736

2837
1. On the start window, choose **Create a new project**.
2938

30-
1. In the search box, type "WPF", choose **WPF App (.NET Framework)**, and then choose **Next**.
39+
![View the 'Create a new project' window](../get-started/media/vs-2019/create-new-project-dark-theme.png)
3140

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.
3342

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+
![Choose the Visual Basic template for the Windows Forms App (.NET Framework)](../get-started/visual-basic/media/vs-2019/vb-create-new-project-search-winforms-filtered.png)
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+
> ![The 'Install more tools and features' link from the 'Not finding what you're looking for' message in the 'Create new project' window](../get-started/media/vs-2019/not-finding-what-looking-for.png)
51+
>
52+
> Next, in the Visual Studio Installer, choose the Choose the **.NET desktop development** workload.
53+
>
54+
> ![.NET Core workload in the Visual Studio Installer](../ide/media/install-dot-net-desktop-env.png)
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**.
3559

3660
::: moniker-end
3761

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+
3965

4066
3. In the list of project templates, choose **Windows Forms Application**, name the project **MatchingGame**, and then choose the **OK** button.
4167

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ 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**.
27+
1. In the **Installed Templates** list, choose either **C#** or **Visual Basic**, and then choose **Windows Desktop**.
2828

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.
3030

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/>![.NET desktop development workload in the Visual Studio Installer](../ide/media/dot-net-desktop-dev-workload.png)<br/><br/> For more information, see the [Install Visual Studio](../install/install-visual-studio.md) page.
3235
3336
::: moniker-end
3437

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

Lines changed: 5 additions & 6 deletions
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: 03/23/2019
3+
ms.date: 05/31/2019
44
ms.prod: visual-studio-windows
55
ms.technology: vs-ide-general
66
ms.topic: conceptual
@@ -22,14 +22,13 @@ When you create a picture viewer, the first step is to create a Windows Forms Ap
2222

2323
## Open Visual Studio 2017
2424

25-
1. On the menu bar, choose **File** > **New** > **Project**. The dialog box should look like this.
25+
1. On the menu bar, choose **File** > **New** > **Project**. The dialog box should look similar to the following screenshot.
2626

27-
![New project dialog](../ide/media/newprojectdialogcallouts.png)<br/>
28-
***New project** dialog box*
27+
![New project dialog](../ide/media/newprojectdialogcallouts.png)<br/>***New project** dialog box*
2928

30-
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**.
3130

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.
3332

3433
>[!NOTE]
3534
>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/>![.NET desktop development workload in the Visual Studio Installer](../ide/media/dot-net-desktop-dev-workload.png)<br/><br/> For more information, see the [Install Visual Studio](../install/install-visual-studio.md) page.

0 commit comments

Comments
 (0)