private void btn_Sousuo_Click(object sender, EventArgs e) { { UsrZhanghao = usr.GetZhanghao(); UsrMima = usr.GetMima(); UsrName = usr.GetName(); UsrXuehao = usr.GetXuehao(); } this.Hide(); f_ss = new Sousuo(); f_ss.Show(); }
private void btn_Sousuo_Click(object sender, EventArgs e) { string zhanghao = Denglu.UsrZhanghao; string xuehao = Denglu.UsrXuehao; usr = new Users(); Opertion bean = new Opertion(); Boolean ok = bean.ReadUsr(zhanghao, xuehao, usr); if (ok) { UsrZhanghao = usr.GetZhanghao(); UsrMima = usr.GetMima(); UsrName = usr.GetName(); UsrXuehao = usr.GetXuehao(); } this.Hide(); f_ss = new Sousuo(); f_ss.Show(); }
private void btn_Sousuo_Click(object sender, EventArgs e) { this.Hide(); f_ss = new Sousuo(); f_ss.Show(); }