标签:
public class ZTCD
{
public static string ZJZ = "";
public static string jg = "";
public static int CD = 0;
public static string yzm = string.Empty;
}
//改变类中参数的值,可在两个winform窗体间传递
Form2 frm1 = new Form2();
frm1.Show();
frm1.tsslName.Text = txtName.Text;
frm1.tsslNo.Text = txtNo.Text;
//还可以直接访问
标签:
原文地址:http://www.cnblogs.com/-slient/p/5116726.html