Advanced Form Techniques

Windows Forms support several advanced techniques for creating form-based effects by modifying properties, as well as more advanced techniques supported through GDI+.

By setting a form's Opacity property to 100%, you get a normal-looking form. As you decrease Opacity toward 0%, the form becomes transparent. In addition, the Transparency property allows you to specify a transparent color. For example, if White is your Transparent color, all regions of the form that are White will be transparent. (These are simple property settings, so no example is provided here. Chapter 15, “Using Windows Forms,” contains an example of using the Opacity method in the section titled “Region Class.”)

Creating shaped forms is a simplified ...

Get Visual Basic® .NET 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.