Button btn = new Button()btn.Location = ...btn.Size = ... groupBox.Controls.Add(btn)很简单吧
button b=new button();b.text="xxx";b.width=;b.height=;b.top=;b.left=;groupbox.controls.add(b);