Chapter 11. Windows Controls

The Microsoft .NET Framework includes a rich object model for creating and configuring Windows Forms. These types, which are found in the System. Windows.Forms namespace, abstract away most of the headaches of the Win32 API and also make it possible to perform tasks that would otherwise be extremely complex. They also mean that most of the solutions you might have used in the Microsoft Visual Basic 6 world no longer apply. In fact, some (such as control arrays, which are replaced in recipe Replace a Control Array) might even be counterproductive.

In this chapter you’ll learn how to take charge of the .NET control classes. For example, you’ll learn a few fundamentals such as adding controls programmatically (recipe ...

Get Microsoft® Visual Basic® .NET Programmer's Cookbook 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.