コード例 #1
0
        public static void Block(string blockTo, UIBlocker blockFrom)
        {
            if (blockTo == null)
            {
                return;
            }

            bool isBlocked = IsBlock(blockTo);

            UIBlockInfo bInfo = GetOrAddBlockInfo(blockTo);

            if (bInfo != null)
            {
                bInfo.Block(blockFrom);
                if (!isBlocked)
                {
                    UIBlockSystemLock(GetObjects(blockTo));
                }
            }
        }