if (familiares > 0) {
for (int i=0; i<familiares; i++) {
- AgregarFamiliar (i+1, familiares);
+ AgregarFamiliar (i+1, familiares, tipoDoc, nroDoc, c);
}
}
+ c.Visitado (tipoDoc, nroDoc);
+
c.Dispose ();
store.Remove (ref iter);
}
- private void AgregarFamiliar (int n, int total)
+ private void AgregarFamiliar (int n, int total, ETipoDocumento tipo, int nro, RegistrarVisitasController c)
{
- VAgregarFamiliar w = new VAgregarFamiliar (n, total);
+ VAgregarFamiliar w = new VAgregarFamiliar (n, total, tipo, nro, c);
w.Run ();
}