protected override void OnPaint(PaintEventArgs e) { this.PaintBorder(e.Graphics, VisibleBorders, BorderColor, BorderDashStyle); PostPaint?.Invoke(this, e); }
protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); e.Graphics.Clear(SystemColors.ActiveBorder); PostPaint?.Invoke(this, e); }