Form frm; //把form2的对象设为form1中的全局对象
private void button1_Click(object sender, EventArgs e)
{
frm = new Form2(); //显示form2
frm.Show();
}
private void button2_Click(object sender, EventArgs e)
{
Control [] ctrl=frm.Controls.Find("label1",false);//查找from2中的lable控件。
textBox1.Text= ctrl[0].Text; //显示lable控件的文本
}
温馨提示:答案为网友推荐,仅供参考