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-labels-to-your-form.md
+23-6Lines changed: 23 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: "Step 1: Create a project and add labels to your form"
3
-
ms.date: 11/04/2016
3
+
ms.date: 05/31/2019
4
4
ms.topic: conceptual
5
5
ms.prod: visual-studio-windows
6
6
ms.technology: vs-ide-general
@@ -18,7 +18,7 @@ As the first steps in developing this quiz, you create the project, and you add
18
18
> [!NOTE]
19
19
> 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).
20
20
21
-
## To create a project and set properties for a form
21
+
## To create a project for a form
22
22
23
23
::: moniker range="vs-2017"
24
24
@@ -36,15 +36,32 @@ As the first steps in developing this quiz, you create the project, and you add
36
36
37
37
1. On the start window, choose **Create a new project**.
38
38
39
-
1. In the search box, type "WPF", choose **WPF App (.NET Framework)**, and then choose **Next**.
39
+

40
40
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.
42
42
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
+

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 *MathQuiz* in the **Project name** box. Then, choose **Create**.
44
59
45
60
::: moniker-end
46
61
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**.
48
65
49
66
The **Properties** window contains properties for the form.
-[Work with mail items](../vsto/working-with-mail-items.md)
33
35
-[How to: Programmatically retrieve a folder by name](../vsto/how-to-programmatically-retrieve-a-folder-by-name.md)
34
36
-[How to: Programmatically perform actions when an email message is received](../vsto/how-to-programmatically-perform-actions-when-an-e-mail-message-is-received.md)
0 commit comments