日期:2014-05-17 浏览次数:20894 次
private void Form1_Load(object sender, EventArgs e)
{
UserControl1 userControl1 = new UserControl1();
userControl1.Location = new Point(10, 0);
this.panel1.Controls.Add(userControl1);
UserControl1 userControl2 = new UserControl1();
userControl2.Location = new Point(10, 200);
this.panel1.Controls.Add(userControl2);
UserControl1 userControl3 = new UserControl1();
userControl3.Location = new Point(10, 400);
this.panel1.Controls.Add(userControl3);
}