Exemple #1
0
 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);
 }
Exemple #2
0
 void crearIterador()
 {
     this.navegador = new NavegadorFicheroMaestro <TInstancia>(this.fichero.Lista);
 }