How can I save dynamically added textboxes in the project in runtime?
I add textboxes like that and I want to save them into my project.
int x = 10;
int y = 20;
for (int i = 1; i <= 5; i++)
{
TextBox a = new TextBox();
a.Location = new Point(x, y);
y += 30;
a.Name = "1";
a.Text = "2";
this.Controls.Add(a);
}