Exemplo n.º 1
0
        private void ColumnCollectionChanged(object sender, CollectionChangeEventArgs e)
        {
            DataView dv = (DataView)_dvWeak.Target;

            if (dv != null)
            {
                dv.ColumnCollectionChangedInternal(sender, e);
            }
            else
            {
                CleanUp(true);
            }
        }
        private void ColumnCollectionChanged(object sender, CollectionChangeEventArgs e)
        {
            DataView target = (DataView)this._dvWeak.Target;

            if (target != null)
            {
                target.ColumnCollectionChangedInternal(sender, e);
            }
            else
            {
                this.CleanUp(true);
            }
        }