我这样写了下,但是不行,原来groupbox中的按钮没有了,添加进去的位置也不一样。 GroupBox ta = new GroupBox(); foreach(Control c in this.groupBox1.Controls) { ta.Controls.Add(c); } this.Controls.Add(ta);
110,538
社区成员
642,577
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧