private void TbxCadastro_Click(object sender, EventArgs e)
        {
            TelaDeCadastro formCad = new TelaDeCadastro();

            formCad.ShowDialog();
            aluno.Add(formCad.alunoCadastro);
        }
Exemple #2
0
        private void Button1_Click(object sender, EventArgs e)
        {
            TelaDeCadastro formCad = new TelaDeCadastro();

            formCad.ShowDialog();
            alunos.Add(formCad.novoAluno);
        }