private void button1_Click(object sender, EventArgs e) { if (selecao == 1) { this.Hide(); LoginProfessor loginProfessor = new LoginProfessor(); loginProfessor.Show(); } else if (selecao == 2) { this.Hide(); LoginAluno loginAluno = new LoginAluno(); loginAluno.Show(); } else if (selecao == 3) { this.Hide(); LoginResponsavel loginResponsavel = new LoginResponsavel(); loginResponsavel.Show(); } else if (selecao == 4) { this.Hide(); LoginAdm loginAdm = new LoginAdm(); loginAdm.Show(); } }
private void btnVoltar_Click(object sender, EventArgs e) { this.Hide(); LoginResponsavel loginResponsavel = new LoginResponsavel(); loginResponsavel.Show(); }