Пример #1
0
        private void cadastrarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();

            frmTurma frmTu = new frmTurma();

            frmTu.ShowDialog();
        }
Пример #2
0
        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();
        }