DrawTools sample shows how to create a Windows Forms application for drawing
graphic objects in a Windows client area using mouse and drawing tools. Drawing tools
implemented in this sample are: Rectangle, Ellipse, Line, and Pencil. There are wellknown
techniques for creating such type of applications, like: interaction with mouse,
flicker-free drawing, implementing of drawing and selection tools, objects selection,
managing of objects Z-order etc. MFC developers may learn all this stuff from MFC
sample DRAWCLI. DrawTools C# program reproduces some of DRAWCLI
functionality and uses some design decisions from this sample....