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