Example #1
0
 private void ClearGradientBrush()
 {
     if (gradientBrush != null)
     {
         gradientBrush.Dispose();
         gradientBrush = null;
     }
 }
 private void Redraw()
 {
     if (br != null)
     {
         br.Dispose();
         br = null;
     }
     Invalidate(true);
 }