Esempio n. 1
0
        private void OnTimedEvent1(object sender, ElapsedEventArgs e)
        {
            BarraProgresso2.ProgressTo(1, 5000, Easing.Linear);

            Text1.TranslateTo(-500, 0, 500, Easing.Linear);

            Text2.TranslateTo(370, 0, 500, Easing.Linear);

            Text3.TranslateTo(70, 0, 500, Easing.Linear);
            Text3.FadeTo(0, 600, Easing.SinInOut);


            Imagens.FadeTo(1, 500, Easing.SinInOut);

            Planet.TranslateTo(-80, 175, 500, Easing.Linear);
            Planet.ScaleTo(2.5, 500);

            Timer timer = new Timer();

            timer.Interval = 5000;

            timer.Elapsed += OnTimedEvent2;

            timer.AutoReset = false;

            timer.Enabled = true;
        }