O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Finishing the Package

The package class already has all the basic code we need; with the user control/tool window UI and code finished, we are essentially done. If we run our package at this stage, a sandbox copy of Visual Studio will start up with the package loaded. We just need to know how to trigger our tool window to display. The launching code is already there inside the ShowToolWindow routine.

Note

A tool window, in Visual Studio parlance, is nothing more than a simple window that can be docked or floated within the IDE.

The custom tool window project item has already provided us with a straightforward routine that will display a tool window. This routine is already wired up to a menu command, and it is already configured to display ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required