private void AlunosToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); Form f = new FormAlunos(); f.Closed += (s, args) => this.Close(); f.Show(); }
}//Chamada das forms que irei usar neste script private void ButtonBackP1_Click(object sender, EventArgs e) { this.Hide(); Form f = new FormAlunos(); f.Closed += (s, args) => this.Close(); f.Show(); }//Comando para botão voltar, voltar para form Alunos
private void ButtonAlunos_Click(object sender, EventArgs e) { this.Hide(); Form f = new FormAlunos(); f.Closed += (s, args) => this.Close(); f.Show(); }