Exemple #1
0
        protected virtual void OnIsTracingEnabledChanged(
            bool oldValue, bool newValue)
        {
            if (ParentGraph == null)
            {
                return;
            }

            mIsTracingBoxAdded = newValue;

            if (oldValue)
            {
                ParentGraph.RemoveTracingBox(TracingBox);
            }

            if (newValue)
            {
                ParentGraph.AddTracingBox(TracingBox);
            }
        }