Exemplo n.º 1
0
        protected virtual void Constraint_ConstraintDataChanged(object sender, EventArgs e)
        {
            IRunCollectionConstraint constraint = (IRunCollectionConstraint)sender;

            if (constraint.Active)
            {
                var oldUpdateRuns = UpdateOfRunsInProgress;
                try {
                    UpdateOfRunsInProgress = true;
                    UpdateFiltering(true);
                } finally { UpdateOfRunsInProgress = oldUpdateRuns; }
            }
        }
Exemplo n.º 2
0
        protected virtual void Constraint_ActiveChanged(object sender, EventArgs e)
        {
            IRunCollectionConstraint constraint = (IRunCollectionConstraint)sender;

            this.UpdateFiltering(!constraint.Active);
        }