Hi, some remarks: 1. You can force a redraw by calling Invalidate() on the Control that does the drawing, in your case a Form. 2. Please, please publish code snippets inside PRE tags; it reads much better. 3. You must call Dispose() on those objects that you create and havre such a class, as in SolidBrush and Pen. 4. For predefined colors there also exist predefined objects (Pen, Brush), see Pens class and Brushes class. You should not try to dispose these, since you did not create them! :)
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips: - use PRE tags to preserve formatting when showing multi-line code snippets - before you ask a question here, search CodeProject, then Google