Skip to content

Commit f555a8f

Browse files
authored
Merge pull request #5705 from AlexB-SheldonMFG/patch-10
Update walkthrough-windows-forms-designer.md
2 parents c3f4277 + da14946 commit f555a8f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/designers/walkthrough-windows-forms-designer.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The DemoCalculator control contains several Windows Forms controls. In this proc
105105

106106
Now that the layout of the control is set up, you can populate the DemoCalculator control with buttons and a display.
107107

108-
1. In **Toolbox**, double-click the `TextBox` control icon.
108+
1. In **Toolbox**, select the `TextBox` control icon.
109109

110110
A `TextBox` control is placed in the first cell of the `TableLayoutPanel` control.
111111

@@ -123,11 +123,11 @@ Now that the layout of the control is set up, you can populate the DemoCalculato
123123

124124
6. Select the `TableLayoutPanel` control.
125125

126-
7. In **Toolbox**, double-click the `Button` icon.
126+
7. In **Toolbox**, select the `Button` icon.
127127

128128
A `Button` control is placed in the next open cell of the `TableLayoutPanel` control.
129129

130-
8. In **Toolbox**, double-click the `Button` icon four more times to populate the second row of the `TableLayoutPanel` control.
130+
8. In **Toolbox**, select the `Button` icon four more times to populate the second row of the `TableLayoutPanel` control.
131131

132132
9. Select all five `Button` controls by selecting them while holding down the **Shift** key. Press **Ctrl**+**C** to copy the `Button` controls to the clipboard.
133133

@@ -241,11 +241,11 @@ This completes the design of the DemoCalculator control. All that remains is to
241241

242242
## Implement event handlers
243243

244-
The buttons on the DemoCalculator control have event handlers that can be used to implement much of the calculator logic. The Windows Forms Designer enables you to implement the stubs of all the event handlers for all the buttons with one double-click.
244+
The buttons on the DemoCalculator control have event handlers that can be used to implement much of the calculator logic. The Windows Forms Designer enables you to implement the stubs of all the event handlers for all the buttons with one selection.
245245

246246
1. On the designer surface, select all the `Button` controls by selecting them while holding down the **Shift** key.
247247

248-
2. Double-click one of the `Button` controls.
248+
2. Select one of the `Button` controls.
249249

250250
The Code Editor opens to the event handlers generated by the designer.
251251

@@ -269,11 +269,11 @@ The first step is to create the application project. You'll use this project to
269269

270270
1. Create a new **Windows Forms Application** project and name it **DemoCalculatorTest**.
271271

272-
2. In **Solution Explorer**, right-click the **DemoCalculatorTest** project, and then select **Add Reference** to open the **Add Reference** dialog box.
272+
2. In **Solution Explorer**, select and hold (or right click) the **DemoCalculatorTest** project, and then select **Add Reference** to open the **Add Reference** dialog box.
273273

274-
3. Select the **Projects** tab, and then double-click the DemoCalculatorLib project to add the reference to the test project.
274+
3. Go to the **Projects** tab, and then select the DemoCalculatorLib project to add the reference to the test project.
275275

276-
4. In **Solution Explorer**, right-click **DemoCalculatorTest**, and then select **Set as StartUp Project**.
276+
4. In **Solution Explorer**, select and hold (or right click) **DemoCalculatorTest**, and then select **Set as StartUp Project**.
277277

278278
5. In the Windows Forms Designer, increase the size of the form to about **700 x 500**.
279279

0 commit comments

Comments
 (0)