单纯的自己记录,将来会继续添加,侥幸被大家发现了的话请不要太鄙视...

private void panel4_Paint(object sender, PaintEventArgs e)
        {
            ControlPaint.DrawBorder(e.Graphics,
                                        panel4.ClientRectangle,
                                        Color.Red,
                                        3,
                                        ButtonBorderStyle.Solid,
                                        Color.Red,
                                        3,
                                        ButtonBorderStyle.Solid,
                                        Color.Red,
                                        3,
                                        ButtonBorderStyle.Solid,
                                        Color.Red,
                                        3,
                                        ButtonBorderStyle.Solid);
        }

未完待续...

相关文章:

  • 2021-05-05
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-06-21
  • 2021-11-29
  • 2021-12-09
  • 2021-10-20
猜你喜欢
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2021-10-02
  • 2022-12-23
相关资源
相似解决方案