Ejemplo n.º 1
0
 // Once the storyboard that rearranges the buttons completed,
 // We do the animation based on the Mode or Orientation change.
 void OnStoryboardCompleted(object sender, object e)
 {
     m_isLastAnimatedInScientific = IsScientific;
     m_isLastAnimatedInProgrammer = IsProgrammer;
     if (m_doAnimate)
     {
         m_doAnimate = false;
         if (m_resultAnimate)
         {
             m_resultAnimate = false;
             Animate.Begin();
         }
         else
         {
             AnimateWithoutResult.Begin();
         }
     }
 }
 public void AnimateIn()
 {
     Animate.Begin();
 }
 private void Button_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
 {
     Animate.Begin();
 }