Skip to Content
Microsoft® Visual Studio® 2010 Unleashed
book

Microsoft® Visual Studio® 2010 Unleashed

by Mike Snell, Lars Powers
August 2010
Intermediate to advanced
1224 pages
34h 17m
English
Sams
Content preview from Microsoft® Visual Studio® 2010 Unleashed

Creating an Add New Item Wizard

Here are the basic steps for creating a wizard:

1. Create a new class library project; in this project, create a new class that implements the IDTWizard interface.

2. In the wizard class, write the code in the Execute method to perform the wizard’s tasks and display its UI.

3. Create a .vsz file for the wizard.

4. Create or edit a .vsdir file to reference the new wizard and the .vsz file.

To solidify these concepts, let’s look at them in action. We follow the development of a wizard from start to finish. In this case, the wizard is a C# Add Item Wizard. Its purpose is to collect some basic data from the user and then create a Tools Options page class (much like you manually did earlier in the chapter) that has ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Visual Studio® 2012 Unleashed, Second Edition

Microsoft® Visual Studio® 2012 Unleashed, Second Edition

Mike Snell, Lars Powers
Professional Visual Studio® 2008

Professional Visual Studio® 2008

Nick Randolph, David Gardner
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek

Publisher Resources

ISBN: 9780132121057Purchase book