Exemplo n.º 1
0
        private void HSPLogin(object sender, EventArgs e)
        {
            this.Hide();
            HSPLogin newform = new HSPLogin();

            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();
     }
 }