コード例 #1
0
        public override void ReCheckPageDependant()
        {
            FormDrawableObject drawableParent = Parent as FormDrawableObject;

            if (drawableParent == null)
            {
                return;
            }

            drawableParent.ReCheckPageDependant();
        }
コード例 #2
0
        public override void ReCheckPageDependant()
        {
            bool oldPageDependant = IsPageDependant;

            isPageDependant = Children.Cast <FormDrawableObject> ().Any(drawable => drawable.IsPageDependant);
            if (isPageDependant == oldPageDependant)
            {
                return;
            }

            FormDrawableObject drawableParent = Parent as FormDrawableObject;

            if (drawableParent != null)
            {
                drawableParent.ReCheckPageDependant();
            }
        }
コード例 #3
0
        public override void ReCheckPageDependant()
        {
            if (isPageDependant == SourceIsPageVariable)
            {
                return;
            }

            FormDrawableObject drawableParent = Parent as FormDrawableObject;

            if (drawableParent == null)
            {
                return;
            }

            isPageDependant = SourceIsPageVariable;
            drawableParent.ReCheckPageDependant();
        }