I’m new to Visual Studio 2010 C# and I’m creating an application where the user will select the number of textboxes will be shown in a form. For example, if the user will select “2” automatically there will be 2 boxes will be shown in the form.
This is the screenshots that I want to create.


I guess what you need to know is dynamic creation of controls.
To do what you want here you need to:
It would go something like this:
So that there’s something left for you to do, you should repeat steps above in a loop, and calculate location of each textbox so that they’re not stacked up.