Skip to Content
Windows Forms 2.0 Programming
book

Windows Forms 2.0 Programming

by Chris Sells, Michael Weinhardt
May 2006
Intermediate to advanced
1296 pages
23h 51m
English
Addison-Wesley Professional
Content preview from Windows Forms 2.0 Programming

9. Components

PACKAGING CODE into classes is an effective way to promote code reuse and save coding effort. VS05 and the Windows Forms Designer take this one step further by providing an infrastructure that trades a programmatic experience for a declarative one, enabling you to drag a class from the Toolbox onto a form and configure it using a host of Windows Forms Designer features, including the Properties window to set properties and manage event handlers. It takes a special type of class known as a component to use such support.

This chapter defines what components are, the capabilities they possess, and the ways in which you can use them, customize them, or create your own.

Components Defined

A component is a class that implements the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CDO & MAPI Programming with Visual Basic:

CDO & MAPI Programming with Visual Basic:

Dave Grundgeiger
Professional Visual Basic 2012 and .NET 4.5 Programming

Professional Visual Basic 2012 and .NET 4.5 Programming

Bill Sheldon, Billy Hollis, Rob Windsor, David McCarter, Gastón Hillar, Todd Herman

Publisher Resources

ISBN: 0321267966Purchase book