看看这篇文章
http://www.lzhm.net/read.aspx?ID=57

解决方案 »

  1.   


    因为窗体是一个类的实例(对象)。
    所以,你要拥有了这个对象时,才能控制它。每一次NEW时,都产生不同的对象。
      

  2.   


    1 在form1里添加
                 private Form2 tempForm = new Form2();
    2 在form2里添加
             private string tempTxt;
    public string txtOfForm1
    {
    get
    {
       return this.tempTxt ;
    }  
    set
    {
    this.tempTxt = value;
    }
    }
    3 在form1的打开form2的按钮里添加
                this.tempForm.txtOfForm1 = this.textBox1.Text;
                this.tempForm.Show();
    4 在form1的关闭form2的按钮里添加
                this.tempForm .Close();
    5 在form2显示form1的textBox1控件内容的按钮里添加
                MessageBox.Show(this.txtOfForm1);