Exemplo n.º 1
0
        internal bool IsConstant()
        {
            bool rc = true;

            if (_Default != null)
            {
                rc = _Default.IsConstant();
            }

            if (!rc)
            {
                return(false);
            }

            if (_Left != null)
            {
                rc = _Left.IsConstant();
            }

            if (!rc)
            {
                return(false);
            }

            if (_Right != null)
            {
                rc = _Right.IsConstant();
            }

            if (!rc)
            {
                return(false);
            }

            if (_Top != null)
            {
                rc = _Top.IsConstant();
            }

            if (!rc)
            {
                return(false);
            }

            if (_Bottom != null)
            {
                rc = _Bottom.IsConstant();
            }

            return(rc);
        }