A Sample Shape Application

By creating a simple application that changes a Shape control's properties, you'll master the Shape control quickly and you'll also learn something about the List control. To give you an idea where you're headed, Figure 9.5 shows the result of the application you'll create. By selecting from one of the two list boxes in the center of the form, you'll change the shape and pattern shown at the top of the form. The shape changes as soon as you select a new value from either list box.

Figure 9.5. Select a shape and pattern from the list boxes.

Follow these steps to create the application:

  1. Open a new form.

  2. Place controls from ...

Get Absolute Beginner's Guide to Programming, Second Edition 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.