Skip to content

Commit aeb1a11

Browse files
authored
Merge pull request #4773 from MicrosoftDocs/master
6/4/2019 AM Publish
2 parents c6249a8 + 95b752c commit aeb1a11

17 files changed

+103
-68
lines changed

docs/data-tools/create-a-sql-database-by-using-a-designer.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,19 @@ You can use Visual Studio to create and update a local database file in SQL Serv
2020

2121
## Prerequisites
2222

23-
To complete this walkthrough, you must have the optional **Data storage and processing** workload installed in Visual Studio. To install it, open **Visual Studio Installer** and choose **More** > **Modify** next to the version of Visual Studio you want to modify (if you have more than one version installed). On the **Workloads** tab, under **Web & Cloud**, choose **Data storage and processing**, and then click **Modify** to add the workload to Visual Studio.
23+
To complete this walkthrough, you must have the optional **Data storage and processing** workload installed in Visual Studio. To install it, open **Visual Studio Installer** and choose **Modify** or **More** > **Modify** next to the version of Visual Studio you want to modify.
24+
25+
::: moniker range=">=vs-2019"
26+
27+
On the **Workloads** tab, under **Other Toolsets**, choose **Data storage and processing**, and then click **Modify** to add the workload to Visual Studio.
28+
29+
::: moniker-end
30+
31+
::: moniker range="=vs-2017"
32+
33+
On the **Workloads** tab, under **Web & Cloud**, choose **Data storage and processing**, and then click **Modify** to add the workload to Visual Studio.
34+
35+
::: moniker-end
2436

2537
## Create a project and a local database file
2638

@@ -169,4 +181,4 @@ In this section, you'll create two tables, a primary key in each table, and a fe
169181

170182
## See also
171183

172-
- [Accessing data in Visual Studio](accessing-data-in-visual-studio.md)
184+
- [Accessing data in Visual Studio](accessing-data-in-visual-studio.md)

docs/ide/default-keyboard-shortcuts-in-visual-studio.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ ms.workload:
1818

1919
For more information about keyboard accessibility, see [Accessibility tips and tricks](../ide/reference/accessibility-tips-and-tricks.md) and [How to: Use the keyboard exclusively](../ide/reference/how-to-use-the-keyboard-exclusively.md).
2020

21-
You can access a variety of commands and windows in Visual Studio by choosing the appropriate keyboard shortcut. This topic lists the default shortcuts for the General Development profile, which you might have chosen when you installed Visual Studio. No matter which profile you chose, you can identify the shortcut for a command by opening the **Options** dialog box, expanding the **Environment** node, and then choosing **Keyboard**. You can also customize your shortcuts by assigning a different shortcut to any given command.
21+
You can access a variety of commands and windows in Visual Studio by choosing the appropriate keyboard shortcut. This page lists the default shortcuts for the **General** profile, which you might have chosen when you installed Visual Studio. No matter which profile you chose, you can identify the shortcut for a command by opening the **Options** dialog box, expanding the **Environment** node, and then choosing **Keyboard**. You can also customize your shortcuts by assigning a different shortcut to any given command.
2222

23-
For a list of common keyboard shortcuts and other productivity information, see [Default keyboard shortcuts for frequently used commands in Visual Studio](../ide/default-keyboard-shortcuts-for-frequently-used-commands-in-visual-studio.md), [Keyboard tips](../ide/tips-and-tricks-for-visual-studio.md), and [Productivity tips](../ide/productivity-tips-for-visual-studio.md).
24-
25-
The sections in the following table include commands that are global in that you can access them from anywhere in Visual Studio by using keyboard shortcuts:
23+
For a list of common keyboard shortcuts and other productivity information, see [Default keyboard shortcuts for frequently used commands in Visual Studio](../ide/default-keyboard-shortcuts-for-frequently-used-commands-in-visual-studio.md), [Keyboard tips](../ide/tips-and-tricks-for-visual-studio.md), and [Productivity tips](../ide/productivity-tips-for-visual-studio.md).
2624

2725
|||||
2826
|-|-|-|-|
2927
|[Analyze](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_analyze)|[Edit](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_edit)|[Project](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_project)|[Test](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_test)|
30-
|[Architecture](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_architecture)|[Editor Context Menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_editorContext)|[Project and Solution Context Menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_projectContext)|[Test Explorer](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_testexplorerGLOBAL)|
28+
|[Architecture](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_architecture)|[Editor context menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_editorContext)|[Project and Solution context menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_projectContext)|[Test Explorer](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_testexplorerGLOBAL)|
3129
|[Build](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_build)|[File](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_file)|[Refactor](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_refactor)|[Tools](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_tools)|
32-
|[Class View Context Menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_classview)|[Help](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_help)|[Solution Explorer](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_solutionexplorerGLOBAL)|[View](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_view)|
33-
|[Debug](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_debug)|[Load Test](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_loadtest)|[Team](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_team)|[Window](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_window)|
34-
|[Debugger Context Menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_debugger)|[Other Context Menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_otherContext)|[Team Foundation Context Menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_TFcontext)|[Azure](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_windowsazure)|
35-
|[Diagnostics Hub](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_diagnostics)||||
30+
|[Class View context menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_classview)|[Help](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_help)|[Solution Explorer](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_solutionexplorerGLOBAL)|[View](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_view)|
31+
|[Debug](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_debug)|[Load test](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_loadtest)|[Team](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_team)|[Window](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_window)|
32+
|[Debugger context menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_debugger)|[Other context menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_otherContext)|[Team Foundation context menus](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_TFcontext)|[Azure](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_windowsazure)|
33+
|[Diagnostics hub](../ide/default-keyboard-shortcuts-in-visual-studio.md#bkmk_diagnostics)||||
34+
35+
## Global shortcuts
3636

37-
## <a name="bkmk_global"></a> Global
37+
These keyboard shortcuts are *global*, which means that you can use them when any Visual Studio window has focus.
3838

3939
### <a name="bkmk_analyze"></a> Analyze
4040

@@ -155,6 +155,7 @@ The sections in the following table include commands that are global in that you
155155
|Edit.Cut|**Ctrl+X**<br /><br /> or<br /><br /> **Shift+Delete**|
156156
|Edit.CycleClipboardRing|**Ctrl+Shift+V**<br /><br /> or<br /><br /> **Ctrl+Shift+Ins**|
157157
|Edit.Delete|**Delete**|
158+
|Edit.Duplicate|**Ctrl+D**|
158159
|Edit.Find|**Ctrl+F**|
159160
|Edit.FindAllReferences|**Shift+F12**|
160161
|Edit.FindinFiles|**Ctrl+Shift+F**|
@@ -167,7 +168,6 @@ The sections in the following table include commands that are global in that you
167168
|Edit.GoToAll|**Ctrl+,** or **Ctrl+T**|
168169
|Edit.GoToDeclaration|**Ctrl+F12**|
169170
|Edit.GoToDefinition|**F12**|
170-
|Edit.GoToFindCombo|**Ctrl+D**|
171171
|Edit.GoToMember|**Ctrl+1, Ctrl+M** or **Ctrl+1, M** or **Alt+\\**|
172172
|Edit.GoToNextLocation|**F8** (Next error in Error List or Output window)|
173173
|Edit.GoToPrevLocation|**Shift+F8** (Previous error in Error List or Output window)|

docs/ide/reference/rename.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,13 @@ This refactoring applies to:
6262
6363
4. When you're happy with the change, choose the **Apply** button or press **Enter** and the changes will be committed.
6464

65-
> [!NOTE]
66-
> If you use a name that already exists which would cause a conflict, the **Rename** box will warn you.
67-
>
68-
> ![Rename Conflict](media/rename-conflict-cs.png)
65+
## Remarks
66+
67+
- If you use a name that already exists which would cause a conflict, the **Rename** box will warn you.
68+
69+
![Rename Conflict](media/rename-conflict-cs.png)
70+
71+
- Another way to rename a symbol is to change its name in the editor. Then, with the cursor in the symbol name, press **Ctrl**+**.** or just expand the light bulb icon menu that appears and choose **Rename \<old name> to \<new name>**.
6972

7073
## See also
7174

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

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Step 1: Create a project and add a table 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
@@ -21,33 +21,55 @@ 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. Choose either **Visual C#** or **Visual Basic** on the left side of the **New Project** dialog box, 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**.
3544

36-
::: moniker-end
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**.
3759

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**.
60+
::: moniker-end
3961

40-
3. In the list of project templates, choose **Windows Forms Application**, name the project **MatchingGame**, and then choose the **OK** button.
62+
## To set properties for a form
4163

42-
4. In the **Properties** window, set the following form properties.
64+
1. In the **Properties** window, set the following form properties.
4365

4466
1. Change the form's **Text** property from **Form1** to **Matching Game**. This text appears at the top of the game window.
4567

4668
2. Set the size of the form to 550 pixels wide by 550 tall. You can do this either by setting the **Size** property to **550, 550**, or by dragging the corner of the form until you see the correct size in the lower-right corner of the integrated development environment (IDE).
4769

48-
5. Display the toolbox by choosing the **Toolbox** tab on the left side of the IDE.
70+
2. Display the toolbox by choosing the **Toolbox** tab on the left side of the IDE.
4971

50-
6. Drag a <xref:System.Windows.Forms.TableLayoutPanel> control from the **Containers** category in the toolbox, and then set the following properties for it.
72+
3. Drag a <xref:System.Windows.Forms.TableLayoutPanel> control from the **Containers** category in the toolbox, and then set the following properties for it.
5173

5274
1. Set the **BackColor** property to **CornflowerBlue**. To do this, open the **BackColor** dialog box by choosing the drop-down arrow next to the **BackColor** property in the **Properties** window. Then, choose the **Web** tab in the **BackColor** dialog box to view a list of available color names.
5375

@@ -66,7 +88,7 @@ The first step in creating a matching game is to create the project and add a ta
6688

6789
Your TableLayoutPanel should now be a 4x4 grid, with sixteen equally sized square cells. These rows and columns are where the icon images will appear later.
6890

69-
7. Be certain that the TableLayoutPanel is selected in the form editor. To verify this, you should see **tableLayoutPanel1** at the top of the **Properties** window. If it is not selected, choose the TableLayoutPanel on the form, or choose it in the dropdown control at the top of the **Properties** window.
91+
4. Be certain that the TableLayoutPanel is selected in the form editor. To verify this, you should see **tableLayoutPanel1** at the top of the **Properties** window. If it is not selected, choose the TableLayoutPanel on the form, or choose it in the dropdown control at the top of the **Properties** window.
7092

7193
While the TableLayoutPanel is selected, open the toolbox and add a <xref:System.Windows.Forms.Label> control (located in the **Common Controls** category) to the upper-left cell of the TableLayoutPanel. The label control should now be selected in the IDE. Set the following properties for it.
7294

@@ -89,15 +111,14 @@ The first step in creating a matching game is to create the project and add a ta
89111
> [!NOTE]
90112
> The Webdings font is a font of icons that ships with the Windows operating system. In your matching game, the player needs to match pairs of icons, so you use this font to display the icons to match. Instead of putting **c** in the **Text** property, try entering different letters to see what icons are displayed. An exclamation point is a spider, an uppercase N is an eye, and a comma is a chili pepper.
91113
92-
8. Choose your Label control and copy it to the next cell in the TableLayoutPanel. (Choose the **Ctrl**+**C** keys, or on the menu bar, choose **Edit** > **Copy**.) Then paste it. (Choose the **Ctrl**+**V** keys, or on the menu bar, choose **Edit** > **Paste**.) A copy of the first Label appears in the second cell of the TableLayoutPanel. Paste it again, and another Label appears in the third cell. Keep pasting Label controls until all of the cells are filled.
114+
5. Choose your Label control and copy it to the next cell in the TableLayoutPanel. (Choose the **Ctrl**+**C** keys, or on the menu bar, choose **Edit** > **Copy**.) Then paste it. (Choose the **Ctrl**+**V** keys, or on the menu bar, choose **Edit** > **Paste**.) A copy of the first Label appears in the second cell of the TableLayoutPanel. Paste it again, and another Label appears in the third cell. Keep pasting Label controls until all of the cells are filled.
93115

94116
> [!NOTE]
95117
> If you paste too many times, the IDE adds a new row to the TableLayoutPanel so that it has a place to add your new Label control. You can undo it. To remove the new cell, choose the **Ctrl**+**Z** keys, or on the menu bar, choose **Edit** > **Undo**.
96118
97119
Now your form is laid out. It should look like the following picture.
98120

99-
![Initial matching game form](../ide/media/express_tut4step1.png)
100-
Initial matching game form
121+
![Initial matching game form](../ide/media/express_tut4step1.png)<br/> Initial matching game form
101122

102123
## To continue or review
103124

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

Lines changed: 7 additions & 4 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. Choose either **Visual C#** or **Visual Basic** on the left side of the **New Project** dialog box, 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

@@ -59,7 +62,7 @@ As the first steps in developing this quiz, you create the project, and you add
5962

6063
::: moniker-end
6164

62-
## To create set properties for a form
65+
## To set properties for a form
6366

6467
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**.
6568

0 commit comments

Comments
 (0)