int i = 0; private void button1_Click(object sender, EventArgs e) { Button b = new Button(); i++; b.Location = new Point(button1.Location.X, button1.Location.Y + i * button1.Height); b.Text = "button" + i; textBox1.Text = b.Text; this.Controls.Add(b); }