In Chapter 7 you learned how to use GDI+ to draw text and complex shapes on a form by overriding the OnPaint() method. Although this technique works perfectly well, most of the time you’ll want to build an application out of smaller controls that paint themselves individually. Taken to its logical extreme, you can use this technique to build hand-tooled interfaces with the latest in eye-catching graphics (something you’ll consider again in Chapter 23).
KeywordsCustom Control String Text Member Variable Public Class Item Text
Unable to display preview. Download preview PDF.