Guest User

Untitled

a guest
Mar 14th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. for (int i = 0, x = 1; i < int.Parse(textBox2.Text); i++, x++)
  2. {
  3. TextBox dynamicTextBox = new TextBox() { Parent = panel1 };
  4.  
  5. dynamicTextBox.Name = x.ToString();
  6. dynamicTextBox.Location = new Point(40, 210 + i * 30);
  7. dynamicTextBox.AppendText(dynamicTextBox.Text + "rn");
  8. }
Add Comment
Please, Sign In to add comment