Skip to content

Commit 83e6844

Browse files
authored
correctly refer to "using directives"
Address incorrect use of ["using statement"](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-statement) to refer to a ["using directive"](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-directive).
1 parent e723101 commit 83e6844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/extensibility/adding-a-tool-window.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public System.Windows.Controls.MediaElement MediaPlayer
132132
## Instantiate the tool window and toolbar
133133
Add a toolbar and a menu command that invokes the **Open File** dialog and plays the selected media file.
134134

135-
1. Open *FirstToolWindow.cs* and add the following `using` statements.
135+
1. Open *FirstToolWindow.cs* and add the following `using` directives.
136136

137137
```csharp
138138
using System.ComponentModel.Design;
@@ -177,7 +177,7 @@ Add a toolbar and a menu command that invokes the **Open File** dialog and plays
177177
}
178178
```
179179

180-
6. Add the menu command to the toolbar. In the FirstToolWindowCommand.cs class, add the following using statement
180+
6. Add the menu command to the toolbar. In the FirstToolWindowCommand.cs class, add the following using directive
181181

182182
```csharp
183183
using System.Windows.Forms;

0 commit comments

Comments
 (0)