
Visual Class Designer Tools
• Visual Studio 2005 truly plays off the ‘visual’ aspect of the tool. We now have:
• The ability to insert a class diagram for a current project.
• The ability to add new types into the project visually (with relations).
• The ability to visually establish the members of a type.
• To activate the visual designers, begin by inserting a new Class Diagram via the Project | Add New Item
dialog.
• Once you do, each type in your project will be accounted for by the designer.
• You may delete any item from the designer without affecting the associated source code file.
• Each type on the designer will display the set of implemented interfaces, nested types, base and derived
types, etc.
• For example:
• Once you have a designer in your project, you are able to build new types via the Class Designer
toolbox.
• Once you drag an item to the class designer surface you will be asked to name your type.
• This results in a new type definition (in a specified file) added to your project.
• Once your type has been placed on the designer, you are able to populate the type with members using
the Class Details window:
• Again, as you are visually designing your types, the underlying source code file is modified in the
background.
• It is also worth pointing out that you are able to export a class diagram to a variety of image formats
(*tif, *.png, *.bmp, *.tif, etc).
• Simply right click anywhere on the designer and select “Export diagram as Image”.
• Very helpful for documentation!
Visual Class Designer Tools
Table of Contents
Copyright (c) 2008. Intertech, Inc. All Rights Reserved. This information is to be used exclusively as an
online learning aid. Any attempts to copy, reproduce, or use for training is strictly prohibited.
Courseware
Training Resources
Tutorials