Both Form Pass The Data in Windows Application.

Jayakumars
Posted by Jayakumars under ASP.NET AJAX category on | Points: 40 | Views : 1423
Form1 .

private void button1_Click(object sender, EventArgs e)
{
Form2 frm2 = new Form2(textBox1.Text);
frm2.Show();
}

Form2.
public Form2(string qs)
{
InitializeComponent();

textBox1.Text = qs;
}

Comments or Responses

Login to post response