Skip to content

Commit 13d1924

Browse files
committed
prefer double-click
1 parent 53f412d commit 13d1924

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/extensibility/creating-a-windows-forms-toolbox-control.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The `Counter` control requires two child controls: a <xref:System.Windows.Forms.
3939

4040
#### To build the user interface
4141

42-
1. In **Solution Explorer**, double-tap or double-click *Counter.cs* to open it in the designer.
42+
1. In **Solution Explorer**, double-click (or double-tap) *Counter.cs* to open it in the designer.
4343

4444
2. Remove the **Click Here !** button that is included by default when you add the Windows Forms Toolbox Control item template.
4545

@@ -61,7 +61,7 @@ The `Counter` control will expose a method to increment the counter, an event to
6161

6262
#### To code the user control
6363

64-
1. Double-tap or double-click the form to open its load event handler in the code window.
64+
1. Double-click (or double-tap) the form to open its load event handler in the code window.
6565

6666
2. Above the event handler method, in the control class create an integer to store the counter value and a string to store the display text as shown in the following example.
6767

@@ -124,7 +124,7 @@ The `Counter` control will expose a method to increment the counter, an event to
124124

125125
Callers can add handlers to this event to respond to changes in the value of the counter.
126126

127-
7. Return to design view and double-tap or double-click the **Reset** button to generate the `btnReset_Click` event handler. Then, fill it in as shown in the following example.
127+
7. Return to design view and double-click (or double-tap) the **Reset** button to generate the `btnReset_Click` event handler. Then, fill it in as shown in the following example.
128128

129129
```csharp
130130
private void btnReset_Click(object sender, EventArgs e)
@@ -166,7 +166,7 @@ The `Counter` control will expose a method to increment the counter, an event to
166166

167167
7. Drag a <xref:System.Windows.Forms.Button> control to the form, and then set the name and text properties of the button to `Test`.
168168

169-
8. Double-tap or double-click the button to open *Form1.cs* in code view and create a click handler.
169+
8. Double-click (or double-tap) the button to open *Form1.cs* in code view and create a click handler.
170170

171171
9. In the click handler, call `counter1.Increment()`.
172172

0 commit comments

Comments
 (0)