protected void NotificarActualizacion(IAdaptadorPtyInf propiedad) { if (this.CambioEstadoModelo != null) { CambioEstadoModeloEventArgs arg = new CambioEstadoModeloEventArgs(propiedad, this.modelo.Reflexion.Origen()); CambioEstadoModelo(this, arg); } }
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)); } } }
// *** 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(); }