Skip to content

Commit e71d859

Browse files
authored
Merge pull request #3365 from MicrosoftDocs/master636951807289012675
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 6796bbe + 263eb06 commit e71d859

File tree

2 files changed

+29
-10
lines changed

2 files changed

+29
-10
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

docs/vsto/how-to-programmatically-save-attachments-from-outlook-e-mail-items.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: "How to: Programmatically save attachments from Outlook email items"
33
ms.date: "02/02/2017"
44
ms.topic: "conceptual"
55
dev_langs:
6-
- "VB"
76
- "CSharp"
87
helpviewer_keywords:
98
- "Outlook [Office development in Visual Studio], attachments"
@@ -18,17 +17,20 @@ ms.workload:
1817
- "office"
1918
---
2019
# How to: Programmatically save attachments from Outlook email items
21-
This example saves e-mail attachments to a specified folder when the mail is received in the inbox.
20+
21+
This example saves e-mail attachments to a specified folder when the mail is received in the inbox.
2222

2323
> [!IMPORTANT]
2424
> This example works only if you add a folder named **TestFileSave** at the root of the C directory.
2525
26-
[!INCLUDE[appliesto_olkallapp](../vsto/includes/appliesto-olkallapp-md.md)]
26+
[!INCLUDE[appliesto_olkallapp](../vsto/includes/appliesto-olkallapp-md.md)]
2727

2828
## Example
29-
[!code-csharp[Trin_OL_SaveAttachments#1](../vsto/codesnippet/CSharp/Trin_OL_SaveAttachments/thisaddin.cs#1)]
29+
30+
[!code-csharp[Trin_OL_SaveAttachments#1](../vsto/codesnippet/CSharp/Trin_OL_SaveAttachments/thisaddin.cs#1)]
3031

3132
## See also
33+
3234
- [Work with mail items](../vsto/working-with-mail-items.md)
3335
- [How to: Programmatically retrieve a folder by name](../vsto/how-to-programmatically-retrieve-a-folder-by-name.md)
3436
- [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

Comments
 (0)