Does anybody know how I can create a bunch of textboxes and buttons without having to write each one individually e.g

Button button1 = new Button;
button1.Location = new Point(1,20);

And then having to go onto the next one e.g button2.

Please help

hasnt this been solved with the other thread?