如题,现有两个窗口,在form1中有button1,form2中有textbox1,需要通过button1把textbox1中的字符改为123,不用show和load方式,有没有最简便的方法?
把form2的textbox1的modifier属性设置为public Dim f As Form2 = CType(Application.OpenForms("Form2"), Form2) f.textbox1.Text = "123"