方法1 两点,首先要有form的实例,当然要设为public型
form2 frm2= new form2();
frm2.TextBox1;方法2设为public static 型
public static string m;
那么在form1中可以这样引用
form2.m
form2 frm2= new form2();
frm2.TextBox1;方法2设为public static 型
public static string m;
那么在form1中可以这样引用
form2.m
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货