private void Form1_Load(object sender, EventArgs e)
{
TextBox[] tx;
int count = 7;
//Create text box
tx = new TextBox[count];
for (int i = 0; i < count; i++)
{
tx[i] = new TextBox();
tx[i].Parent = this;
// space 5px of each texbox
tx[i].Top = i * (tx[i].Height+5);
}
}
0 comments:
Post a Comment