Skip to content

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    Just create textbox objects, and add them to the form. Use for-loop to make sufficient amount of text boxes.

    Java
    
    this.SuspendLayout();
    
    
    for(int i=0; i<texkBoxCount; i++)
    
    {
    
    TextBox newBox = new TextBox();
    
    newBox.Size = new Size(100,20);
    
    newBox.Position = new Point(i*20,10);
    
    this.Controls.Add(newBox);
    
    
    }
    
    this.ResumeLayout();
    0