📜  如何在 c# 代码示例中为 groupbox 设置边框

📅  最后修改于: 2022-03-11 14:49:18.381000             🧑  作者: Mango

代码示例1
private void UserControl1_Paint(object sender, PaintEventArgs e)
    {
        ControlPaint.DrawBorder(e.Graphics, this.ClientRectangle, Color.Red, ButtonBorderStyle.Solid);

    }