C# 窗体之间传值问题
Form1 fm1 = new Form1();string a = fm1.pubname;
string b = fm1.textBox1.Text.Trim().ToString();
pubname和textbox1都是取一个控件的值,目前这是Form2,想要调用Form1的变量,能点出来,但是却得不到值。
From1已经设置为public System.Windows.Forms.TextBox textBox1;
2012-03-05 17:01

2012-03-05 17:27
2012-03-05 17:28
2012-03-05 17:35
2012-03-06 09:41
2012-03-13 18:26
2012-03-13 18:33
2012-03-13 18:46
2012-03-15 10:35