Hi,

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);
this.Controls.Add(button1);

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

Please help

hasnt this been solved with the other thread?

Yea sorry just realised.

Be a part of the DaniWeb community

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