예제 #1
0
        private async Task ShowButtons()
        {
            var speed = 25U;
            await N.FadeTo(1, speed);

            await NE.FadeTo(1, speed);

            await E.FadeTo(1, speed);

            await SE.FadeTo(1, speed);

            await S.FadeTo(1, speed);

            await SW.FadeTo(1, speed);

            await W.FadeTo(1, speed);

            await NW.FadeTo(1, speed);
        }
예제 #2
0
        private async Task HideButtons()
        {
            var speed = 25U;
            await N.FadeTo(0, speed);

            await NE.FadeTo(0, speed);

            await E.FadeTo(0, speed);

            await SE.FadeTo(0, speed);

            await S.FadeTo(0, speed);

            await SW.FadeTo(0, speed);

            await W.FadeTo(0, speed);

            await NW.FadeTo(0, speed);
        }