コード例 #1
0
 private void About_Button_Click(object sender, RoutedEventArgs e)
 {
     Ghost_Background.Pause();
     Button_Clicked_Sound.Stop();
     Button_Clicked_Sound.Play();
     About_Grid.Visibility = Visibility.Visible;
     About_Ef_In.Begin();
 }
コード例 #2
0
 private void Start_Click(object sender, RoutedEventArgs e)
 {
     Ghost2.Visibility = Visibility.Visible;
     Ghost_Background.Pause();
     Ghost2_Ef.Begin();
     Ghost_Sound.Stop();
     Ghost_Sound.Play();
 }
コード例 #3
0
 private void Ghost2_Ef_Completed(object sender, EventArgs e)
 {
     Ghost_Background.Stop();
     Ghost_Sound.Stop();
     NavigationService.Navigate(new Uri("/SolvePage.xaml", UriKind.Relative));
 }
コード例 #4
0
 private void Ghost_Sound_Ef_2_Completed(object sender, EventArgs e)
 {
     Ghost_Background.Play();
 }
コード例 #5
0
 private void Ghost_Background_MediaEnded(object sender, RoutedEventArgs e)
 {
     Ghost_Background.Play();
 }
コード例 #6
0
 // Constructor
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     Ghost_Background.Play();
     Ghost2.Opacity    = 0;
     Ghost2.Visibility = Visibility.Collapsed;
 }