Adding and Designing Objects

The first step to perform is creating an interface. To accomplish this, follow these steps:

1. Right-click the designer surface (see Figure 17.1) and select the Add, Interface command.

2. When the New Interface dialog appears, specify the IPerson name and leave all other options unchanged, which are self-explanatory. Figure 17.2 shows the dialog. This adds a new item on the designer, representing an interface.

Figure 17.2 The New Interface dialog allows specifying the name of the new interface and other settings as the access level and the filename.

image

3. Right-click the new interface and select the Add, |Property 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.