void establecerParametros(IFicheroMaestro <TInstancia> fichero, string nombIns, IControladorMV ctrlMV, IVistaFicheroMaestro vist) { this.fichero = fichero; this.navegador = null; this.nombreInstancia = nombIns; this.memento = null; this.controladorMV = ctrlMV; this.controladorMV.CambioEstadoModelo += new CambioEstadoModeloManejador(ModeloCambioEstado); this.vista = vist; this.vista.EstablecerControlFichero(this); }
void crearIterador() { this.navegador = new NavegadorFicheroMaestro <TInstancia>(this.fichero.Lista); }