private void btn_finaliza_matricula_Click(object sender, EventArgs e) { this.novoAluno = new Models.Aluno(); novoAluno.Nome = txb_nome.Text; novoAluno.Idade = Convert.ToInt32(txb_idade.Text); novoAluno.Email = txb_email.Text; novoAluno.Telefone = txb_telefone.Text; novoAluno.Endereco = txb_endereco.Text; Controllers.UsuarioController controller = new Controllers.UsuarioController(); controller.cadastraAluno(this.novoAluno, idInstituicaoSelecionada, this.usuario.Id, this.idCursoSelecionado, this.valorCursoSelecionado); this.Close(); }