private void cadastrarToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); frmTurma frmTu = new frmTurma(); frmTu.ShowDialog(); }
private void cadastrarToolStripMenuItem_Click(object sender, EventArgs e) { if (cbOpção.Text == "Turma") { this.Hide(); frmTurma frmCadTurma = new frmTurma(); frmCadTurma.ShowDialog(); } this.Hide(); frmResponsa frmRespo = new frmResponsa(); frmRespo.ShowDialog(); }