Chapter 5 - Graphics and Paint: Using a graphics context and handling the Paint event.
Download Source