O'Reilly logo

Microsoft® Visual Studio® 2010 Unleashed by Lars Powers, Mike Snell

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

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

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