private static int n = 0;
private void button1_Click(object sender, EventArgs e)
{
var newButton = new Button()
{
Name = "btn" + n,
Text = n.ToString(),
Location = new Point(10, 10 + n*30),
Size = new Size(50, 25),
TabIndex = 100 + n,
};
n++;
this.Controls.Add(newButton);
}