Shaped Forms

The next section of this chapter deals with the concept of shaped forms. A shaped form is a kind of OwnerDraw control that enables you to provide an advanced (and attractive) interface that doesn't conform to the standard Windows rectangle form factor.

Introduction to Shaped Forms

A shaped form is essentially just a Windows Form that doesn't appear to be rectangular. There are actually two ways in which you can create a shaped form using Windows Forms: an easy way and a hard way. I will cover the easy way here and let you do some experimenting to play with the hard way. The hard way involves using the GraphicsPath class to physically change the clipping region of your form at runtime by overriding some of your forms events (essentially ...

Get Microsoft® Visual C#® .NET 2003 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.