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

5. Drawing Basics

AS HANDY AS FORMS are and as rich as the set of built-in controls is, sometimes neither is sufficient to render the state of your application.[1] In that case, you need to draw the state yourself. You may be drawing to the screen, to a file, or to a printer, but wherever you're drawing to, you're dealing with the same primitives—colors, brushes, pens, and fonts—and the same kinds of things to draw: shapes, images, and strings. This chapter starts by examining the fundamentals of drawing to the screen and the basic building blocks of drawing.

Note that all the drawing techniques discussed in this chapter and in the next two chapters relate equally well to controls as to forms. For information about building custom controls, ...

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