示例#1
0
        private async void Donut_Background()
        {
            await Donut.RotateTo(10, 0);

            await Donut.ScaleTo(1.5, 0);

            await Donut.TranslateTo(20, -800, 100000);

            await Donut.TranslateTo(-20, 0, 1);
        }
示例#2
0
 private void Donut_Background()
 {
     Task.WhenAny <bool>
     (
         Donut.RotateTo(10, 0),
         Donut.ScaleTo(1.5, 0),
         Donut.TranslateTo(20, -1000, 100000),
         Donut.TranslateTo(-20, 1000, 0),
         Donut.TranslateTo(20, -1000, 100000)
     );
 }