示例#1
0
            protected override void Init()
            {
                base.Init();
                RightArrow.Y = Y + Height / 2 - RightArrow.Height / 2;
                LeftArrow.Y  = Y + Height / 2 - LeftArrow.Height / 2;

                for (int i = 0; i < Count - ExtraCount; i++)
                {
                    ITEM[i, 0] = GameBlock.Create(SIZE[i % Rows]);
                    ((GameBlock)ITEM[i, 0]).AddPageChangeEvent(ref PageChangeEventHandler);
                    ((GameBlock)ITEM[i, 0]).ParentRows = Rows;
                }
                Cursor_Status &= ~Cursor_Status.Horizontal;
            }