public string passText { get { return textBox1.Text; } } //Form1中还有个按钮button1在其点击事件中有: private void button1_Click(object sender, EventArgs e) { Form2 f2 = new Form2(); f2.Owner = this; //设置附属 f2.Show(); } //Form2中获取 private void form2_Load(object sender, EventArgs e) { //通过目标窗体,找到拥有它的源窗体,得到的是一个object对象 textBox1.Text = ((Form1)this.Owner).passText; }