Пример #1
0
 protected void NotificarActualizacion(IAdaptadorPtyInf propiedad)
 {
     if (this.CambioEstadoModelo != null)
     {
         CambioEstadoModeloEventArgs arg = new CambioEstadoModeloEventArgs(propiedad,
                                                                           this.modelo.Reflexion.Origen());
         CambioEstadoModelo(this, arg);
     }
 }
Пример #2
0
 public virtual void EdicionLinea(object sender, CambioEstadoModeloEventArgs args)
 {
     if (args.PropiedadCambiada.Nombre == this.lista.NombreClave)
     {
         bool buscar = false;
         if (this.bufferInstancias.ItemEsNulo())
         {
             buscar = true;
         }
         else if (claveEditada())
         {
             buscar = true;
         }
         if (buscar)
         {
             establecerItemLinea(buscarComercializable((string)args.PropiedadCambiada.Valor));
         }
     }
 }
Пример #3
0
        // ***	M E T O D O S   P U B L I C O S		*** //

        public void ModeloCambioEstado(object sender, CambioEstadoModeloEventArgs args)
        {
            this.vista.ReflejarEstadoEdicion();
        }