Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0, x = 1; i < int.Parse(textBox2.Text); i++, x++)
- {
- TextBox dynamicTextBox = new TextBox() { Parent = panel1 };
- dynamicTextBox.Name = x.ToString();
- dynamicTextBox.Location = new Point(40, 210 + i * 30);
- dynamicTextBox.AppendText(dynamicTextBox.Text + "rn");
- }
Add Comment
Please, Sign In to add comment