Enabling the Class Designer

To enable the Visual Studio Class Designer, you need to click the View Class Diagram button in Solution Explorer. When ready, the Class Designer appears as a new window within the IDE and shows a graphical representation of the main application module, including the definition of the Main method. Basically all tasks you can perform on the Class Designer can be accomplished by invoking commands exposed by the context menu that you get when right-clicking the designer’s surface. Figure 17.1 shows the previously mentioned representation of Module1 and the available commands.

Figure 17.1 The Visual Studio Class Designer when launched plus available commands for design operations.

Figure 17.1 also shows the Add command ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.