添加一个模块,在模块中定义一个全局变量,比如 Public XX As String在窗体2:XX = Text1.Text在窗体1:Text1.Text = XX
form1.text1.text=form2.text1.text