/// 去除GroupBox边框 private void groupBox1_Paint(object sender, PaintEventArgs e) { e.Graphics.Clear(this.groupBox1.BackColor); }