Example #1
0
 public VistaWf(ControladorMvWf ctrl, bool confirmacionSalida) : this()
 {
     this.confirmacionSalida = confirmacionSalida;
     this.modelo             = null;
     this.ctrlMv             = ctrl;
     this.ctrlMv.EstablecerVista(this);
 }
Example #2
0
        //-----------------------------------//
        //       C o n s t r u c t o r       //
        //-----------------------------------//

        public AdaptadorVista(System.Windows.Forms.Control contenedor,
                              System.Windows.Forms.ListView vistaLista,
                              IVista vistaContenedora,
                              ControladorMvWf controladorMV)
        {
            this.controladorMV    = controladorMV;
            this.vistaContenedora = vistaContenedora;
            this.contenedor       = contenedor;
            this.botonActualizar  = (System.Windows.Forms.Button) this.contenedor.Controls["actualizarLista"];
            this.vistaLista       = vistaLista;
            this.menuInstancias   = this.vistaLista.ContextMenuStrip;
            this.estadoEditado    = false;
            limpiando             = false;
            this.vistaLista.SelectedIndexChanged += new EventHandler(SeleccionInstancia);
            this.controladorMV.EstablecerVista(this);
        }
Example #3
0
 public VistaWf(ControladorMvWf ctrl, bool confirmacionSalida, object mdlo) : this(ctrl, confirmacionSalida)
 {
     this.modelo = mdlo;
 }
Example #4
0
 public VistaFicheroMaestroWf(ControladorMvWf ctrl, VistaSeleccionWf vistaSel, object mdlo, Color colorEtiqAct) : base(ctrl, true, mdlo)
 {
     InitializeComponent();
     inicializar(vistaSel);
     colorEtiquetasActivas = colorEtiqAct;
 }