C# - Adicionando controle em tempo de execução

TextBox tb = new TextBox();

tb.Location = new Point(10, 10);
tb.Size = new Size(100, 20);
tb.Text = "Olá Mundo!";

this.Controls.Add(tb);

Autor: Alexandre Ruter Facione

Procurar neste site . . .