public override void ModificarRegistro() { try { _agenteServicio.Modificar(base._entidadId.Value, this.txtLegajo.Text, this.txtApellido.Text, this.txtNombre.Text, this.txtNroDocumento.Text, this.txtTelefono.Text, this.txtCelular.Text, this.txtMail.Text, this.chkVisualizar.Checked); RealizoAlgunaOperacion = true; this.Close(); } catch (Exception) { Mensaje.Mostrar("OcurriĆ³ un error al modificar un Agente", TipoMensaje.Error); } }