Exemple #1
0
        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();
        }
Exemple #2
0
        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();
        }
Exemple #3
0
 private void btn_Sousuo_Click(object sender, EventArgs e)
 {
     this.Hide();
     f_ss = new Sousuo();
     f_ss.Show();
 }