Skip to content

Commit a175e6a

Browse files
authored
Merge pull request #4757 from TerryGLee/tglee-getstart
[get started] change file project from WPF to WinForms on Math Quiz page
2 parents ceca64e + cd10667 commit a175e6a

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

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

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Step 1: Create a project and add labels 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
@@ -18,7 +18,7 @@ As the first steps in developing this quiz, you create the project, and you add
1818
> [!NOTE]
1919
> This topic is part of a tutorial series about basic coding concepts. For an overview of the tutorial, see [Tutorial 2: Create a timed math quiz](../ide/tutorial-2-create-a-timed-math-quiz.md).
2020
21-
## To create a project and set properties for a form
21+
## To create a project for a form
2222

2323
::: moniker range="vs-2017"
2424

@@ -36,15 +36,32 @@ As the first steps in developing this quiz, you create the project, and you add
3636

3737
1. On the start window, choose **Create a new project**.
3838

39-
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)
4040

41-
(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.
4242

43-
1. Give the project a name, **MathQuiz**, 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 *MathQuiz* in the **Project name** box. Then, choose **Create**.
4459

4560
::: moniker-end
4661

47-
1. Choose the form, and then change its **Text** property to **Math Quiz**.
62+
## To create set properties for a form
63+
64+
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**.
4865

4966
The **Properties** window contains properties for the form.
5067

0 commit comments

Comments
 (0)