//Panel是没有这样的属性的,双击进去输入下面代码就可以更换边框颜色了private void radPanel1_Paint(object sender, PaintEventArgs e) { Pen p = new Pen(Color.White); e.Graphics.DrawRectangle(p, 0, 0, this.radPanel1.Width - 1, this.radPanel1.Height - 1); }
时间: 2024-10-25 00:11:26
//Panel是没有这样的属性的,双击进去输入下面代码就可以更换边框颜色了private void radPanel1_Paint(object sender, PaintEventArgs e) { Pen p = new Pen(Color.White); e.Graphics.DrawRectangle(p, 0, 0, this.radPanel1.Width - 1, this.radPanel1.Height - 1); }