private void Modificar(object sender, EventArgs args)
 {
     Bar1.Progress = 1;
     Bar2.ProgressTo(1, 10000, Easing.Linear);
     Bar3.ProgressTo(1, 10000, Easing.SpringIn);
     Bar4.ProgressTo(1, 10000, Easing.SinIn);
     Bar5.ProgressTo(1, 10000, Easing.BounceOut);
     Bar6.ProgressTo(1, 10000, Easing.BounceIn);
     Bar7.ProgressTo(1, 10000, Easing.CubicIn);
 }
Ejemplo n.º 2
0
 public void ModifyProgress(object sender, EventArgs args)
 {
     Bar1.Progress = 1;
     Bar2.ProgressTo(1, 5000, Easing.Linear); //Alguns tipos de animação na classe Easing
     Bar3.ProgressTo(1, 5000, Easing.SpringIn);
     Bar4.ProgressTo(1, 5000, Easing.SpringOut);
     Bar5.ProgressTo(1, 5000, Easing.BounceIn);
     Bar6.ProgressTo(1, 5000, Easing.BounceOut);
     Bar7.ProgressTo(1, 5000, Easing.CubicIn);
     Bar8.ProgressTo(1, 5000, Easing.CubicOut);
     Bar9.ProgressTo(1, 5000, Easing.SinIn);
     Bar10.ProgressTo(1, 5000, Easing.SinOut);
 }
 private void Modificar(object sender, EventArgs args)
 {
     Bar1.ProgressTo(1, 15000, Easing.BounceIn);
     Bar2.ProgressTo(1, 15000, Easing.BounceOut);
     Bar3.ProgressTo(1, 15000, Easing.CubicIn);
     Bar4.ProgressTo(1, 15000, Easing.CubicInOut);
     Bar5.ProgressTo(1, 15000, Easing.CubicOut);
     Bar6.ProgressTo(1, 15000, Easing.SinIn);
     Bar7.ProgressTo(1, 15000, Easing.SinInOut);
     Bar8.ProgressTo(1, 15000, Easing.SinOut);
     Bar9.ProgressTo(1, 15000, Easing.SpringIn);
     Bar10.ProgressTo(1, 15000, Easing.SpringOut);
 }