控制不同form的textbox
Form1 Code:
-------------
public TextBox txt1;
....
Form2 f2=new Form2();
f2.frm1=this;
f2.show();
.....
-------------Form2 Code:
-----------------
Form1 frm1;
...
frm1.txt1.Text="HELLO";
Form1 Code:
-------------
public TextBox txt1;
....
Form2 f2=new Form2();
f2.frm1=this;
f2.show();
.....
-------------Form2 Code:
-----------------
Form1 frm1;
...
frm1.txt1.Text="HELLO";
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货