C# WinFrom 去掉groupbox的边框

代码如下:

private void groupBox1_Paint(object sender, PaintEventArgs e)
{
    e.Graphics.Clear(this.BackColor);
}

 

你可能感兴趣的:(C#,边框,WinForm,groupbox)