Form.lable1.Caption = Form1.Text1.Text
我想把form窗口中的lable1的内容在其他窗口修改
在其他窗口的单击事件里写了如上代码
提示没有对象
Form.lable1.Caption = Form1.Text1.Text
我想把form窗口中的lable1的内容在其他窗口修改
在其他窗口的单击事件里写了如上代码
提示没有对象
Dim frm As New Form
frm.lable1.Caption = Me.Text1.Text
要这样
Form f=new Form()
f.lable1.caption=this.text1.text