예제 #1
0
 protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
 {
     if (showScores)
     {
         e.Cancel   = true;
         showScores = !showScores;
         ScoresOutStoryBoard.Begin();
         OpeningStoryBoard.Begin();
     }
     base.OnBackKeyPress(e);
 }
예제 #2
0
 void ResetStoryBoard_Completed(object sender, EventArgs e)
 {
     OpeningStoryBoard.Begin();
 }
예제 #3
0
 /// <summary>
 /// Gestione del click per tornare indietro dalla visualizzazione dei punteggi.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ScoresBackButton_Click(object sender, RoutedEventArgs e)
 {
     showScores = !showScores;
     ScoresOutStoryBoard.Begin();
     OpeningStoryBoard.Begin();
 }