日期:2014-05-18 浏览次数:20920 次
aaa="hello";
Form2 f2 = new Form2();
f2.M_frmUser = this;
f2.M_frmId = aaa;
f2.ShowDialog();
public Form1 M_frmUser = null;
public string M_frmId = "";
private void Form2_Load(object sender, EventArgs e)
{
txtID.Text = M_frmId; //txtID是个文本框
}