示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            GateContainer gatecontainer = new GateContainer();

            panel1.Controls.Add(gatecontainer);
            gatecontainer.Location = new System.Drawing.Point(100, 100);
        }
示例#2
0
 private void button1_Click(object sender, EventArgs e)
 {
     GateContainer gatecontainer = new GateContainer();
     panel1.Controls.Add(gatecontainer);
     gatecontainer.Location = new System.Drawing.Point (100,100);
 }