The ShapeStyle property lets you choose from a number of shapes, such as rectangle, rounded rectangle, oval, and so on. You can adjust the width and color of the lines by changing the BorderWidth and BorderColor properties.

To create a shape

  1. Open the form in Form Designer.

  2. Open the Toolbox and select the Shape tool.

  3. Click and drag in the design area to specify the size of the shape that you want to add. You can adjust it again later.

  4. In the Properties window for the shape, click ShapeStyle and select a shape from the drop-down list.

  5. Use the BorderWidth and BorderColor properties to further refine the design of the shape that you have added to the form.

See Also