public class Form2 { string[] str=new string[2]();//定义数组 public Form2()//无参构造 { } public Form2(string[] arr)//带参数的构造 { this.str=arr; } protected void Form2_load(object sender, EventArgs e) { foreach (string a in str)//遍历数组,输出值 { messagebox.show(i); } } } public class Form1 { public Form1() { } string[] str = new string[2](); protected void btnOK_Click(object sender, EventArgs e) { Form2 f = new Form2(str);//实例Form2,把str数组传过去 f.show();//弹出Form2 this.close();//本窗体关闭 } }