示例#1
0
        private void EnrolleeLogin(object sender, EventArgs e)
        {
            this.Hide();
            EnrolleeLogin newform = new EnrolleeLogin();

            newform.ShowDialog();
        }
 private void Button2_Click(object sender, EventArgs e)
 {
     if (whoLogged == 0)
     {
         this.Hide();
         EnrolleeLogin newform = new EnrolleeLogin();
         newform.ShowDialog();
     }
     else
     {
         this.Hide();
         HSPLogin newform = new HSPLogin();
         newform.ShowDialog();
     }
 }