protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { try { base.OnPaint(e); } catch (Exception ex) { this.Invalidate(); } }