... break; } case 3: { // Draw a rectangle curGraphics.DrawRectangle(curPen, curX, curY, diffX, diffY); break; } case 4: { // Fill the rectangle curGraphics.FillRectangle(curBrush, curX, curY, diffX, ... struct sliceData { public int share; public Color clr; }; private Color curClr = Color.Black; int shareTotal = 0; The Select Color button allows us to select the color for a share As Listing 3. 39 ... System.Drawing.Drawing2D.HatchBrush public HatchBrush(HatchStyle, Color); public HatchBrush(HatchStyle, Color, Color); The following code creates a hatch brush with a dashed-vertical hatch style, blue background,...