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/designers/walkthrough-windows-forms-designer.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ The DemoCalculator control contains several Windows Forms controls. In this proc
105
105
106
106
Now that the layout of the control is set up, you can populate the DemoCalculator control with buttons and a display.
107
107
108
-
1. In **Toolbox**, double-click the `TextBox` control icon.
108
+
1. In **Toolbox**, select the `TextBox` control icon.
109
109
110
110
A `TextBox` control is placed in the first cell of the `TableLayoutPanel` control.
111
111
@@ -123,11 +123,11 @@ Now that the layout of the control is set up, you can populate the DemoCalculato
123
123
124
124
6. Select the `TableLayoutPanel` control.
125
125
126
-
7. In **Toolbox**, double-click the `Button` icon.
126
+
7. In **Toolbox**, select the `Button` icon.
127
127
128
128
A `Button` control is placed in the next open cell of the `TableLayoutPanel` control.
129
129
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.
131
131
132
132
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.
133
133
@@ -241,11 +241,11 @@ This completes the design of the DemoCalculator control. All that remains is to
241
241
242
242
## Implement event handlers
243
243
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.
245
245
246
246
1. On the designer surface, select all the `Button` controls by selecting them while holding down the **Shift** key.
247
247
248
-
2.Double-click one of the `Button` controls.
248
+
2.Select one of the `Button` controls.
249
249
250
250
The Code Editor opens to the event handlers generated by the designer.
251
251
@@ -269,11 +269,11 @@ The first step is to create the application project. You'll use this project to
269
269
270
270
1. Create a new **Windows Forms Application** project and name it **DemoCalculatorTest**.
271
271
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 rightclick) the **DemoCalculatorTest** project, and then select **Add Reference** to open the **Add Reference** dialog box.
273
273
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.
275
275
276
-
4. In **Solution Explorer**, right-click **DemoCalculatorTest**, and then select **Set as StartUp Project**.
276
+
4. In **Solution Explorer**, select and hold (or rightclick)**DemoCalculatorTest**, and then select **Set as StartUp Project**.
277
277
278
278
5. In the Windows Forms Designer, increase the size of the form to about **700 x 500**.
0 commit comments