01.using System.IO;
02.using System.Linq;
03.using System.Text;
04.using System.Windows.Forms;
05.
06.
07.namespace WindowsFormsApplication1
08.{
09. public partial class Form1 : Form
10. {
11. //Decalre As Global For Use Anywhere...
12. TextBox txtMyBox1 = new TextBox();
13.
14. private void button1_Click(object sender, EventArgs e)
15. {
16. //Set The Location On The Form Using X & Y Axes...
17. txtMyBox1.Location = new Point(12, 12);
18.
19. //It Will Add New Textbox To Form Runtime...
20. this.Controls.Add(txtMyBox1);
21. }
22.
23. //Using Below You Can Retrieve value Of New Textbox...
24. private void button2_Click(object sender, EventArgs e)
25. {
26. textBox1.Text = txtMyBox1.Text;
27. }
28.}