private void this_Paint(object sender, PaintEventArgs e) { Brush br = filler.GetBrush(ClientRectangle); if (br != null) { e.Graphics.FillRectangle(br, ClientRectangle); br.Dispose(); } }