public Form1()
{public string str;
private void button1_Click(object sender, System.EventArgs e)
{
  

Form2 form2=new Form2(this);
Form1.ActiveForm.Hide();
form2.Show();
}}在FORM2中
public Form2(Form1 form1)
{
str =form1.str;
}