Exemplo n.º 1
0
 private void onPause(Object sender, Windows.UI.Xaml.Input.TappedRoutedEventArgs e)
 {
     if (pause.Visibility == Windows.UI.Xaml.Visibility.Visible)
     {
         OnStart.Begin();
         pause.Visibility = Windows.UI.Xaml.Visibility.Collapsed;
         rule.isPause     = false;
     }
     else
     {
         OnPause.Begin();
         pause.Visibility = Windows.UI.Xaml.Visibility.Visible;
         rule.isPause     = true;
     }
 }