private void NuevoToolStripButton_Click(object sender, EventArgs e) { InterpretesAEForm frm = new InterpretesAEForm(); frm.Text = "Nuevo Intérprete"; DialogResult dr = frm.ShowDialog(this); if (dr == DialogResult.OK) { try { Interprete interprete = frm.GetInterprete(); if (!servicio.Existe(interprete)) { servicio.Guardar(interprete); DataGridViewRow r = ConstruirFila(); var interpreteDto = Mapeador.CrearMapper().Map <Interprete, InterpreteListDto>(interprete); AgregarFila(r); MessageBox.Show("Registro agregado", "Mensaje", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Registro Duplicado \nAlta Denegada", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } catch (Exception exception) { MessageBox.Show(exception.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } }