Skip to content

Commit 468e989

Browse files
authored
Merge pull request #7046 from ghogen/writedocs
prefer double-click to double-tap
2 parents 53f412d + fbefccd commit 468e989

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Creating a Windows Forms Toolbox Control | Microsoft Docs
3+
description: This walkthrough shows how to use the Windows Forms Toolbox Control template to create a simple counter control using the Visual Studio SDK.
34
ms.date: 3/16/2019
45
ms.topic: how-to
56
helpviewer_keywords:
@@ -39,7 +40,7 @@ The `Counter` control requires two child controls: a <xref:System.Windows.Forms.
3940

4041
#### To build the user interface
4142

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

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

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

6263
#### To code the user control
6364

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

6667
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.
6768

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

125126
Callers can add handlers to this event to respond to changes in the value of the counter.
126127

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.
128+
7. Return to design view and double-click the **Reset** button to generate the `btnReset_Click` event handler. Then, fill it in as shown in the following example.
128129

129130
```csharp
130131
private void btnReset_Click(object sender, EventArgs e)
@@ -156,7 +157,7 @@ The `Counter` control will expose a method to increment the counter, an event to
156157

157158
2. In the Experimental instance of Visual Studio, create a **Windows Forms Application** project.
158159

159-
3. In **Solution Explorer**, double-tap or double-click *Form1.cs* to open it in the designer if it is not already open.
160+
3. In **Solution Explorer**, double-click *Form1.cs* to open it in the designer if it is not already open.
160161

161162
4. In the **Toolbox**, the `Counter` control should be displayed in the **General** section.
162163

@@ -166,7 +167,7 @@ The `Counter` control will expose a method to increment the counter, an event to
166167

167168
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`.
168169

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

171172
9. In the click handler, call `counter1.Increment()`.
172173

0 commit comments

Comments
 (0)