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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.