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