TextBox() textBoxes = new TextBox();
textboxes.Id = "bla bla";
This is how u create a new text box,
for instatance in WPF - we can create a textbox like the above code and them to a canvas.
canvasname.add(textBoxes );
Like wise we can add any number of text boxes using loops and add them to the UI.