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(); }
private void Start_Click(object sender, RoutedEventArgs e) { Ghost2.Visibility = Visibility.Visible; Ghost_Background.Pause(); Ghost2_Ef.Begin(); Ghost_Sound.Stop(); Ghost_Sound.Play(); }
private void Ghost2_Ef_Completed(object sender, EventArgs e) { Ghost_Background.Stop(); Ghost_Sound.Stop(); NavigationService.Navigate(new Uri("/SolvePage.xaml", UriKind.Relative)); }
private void Ghost_Sound_Ef_2_Completed(object sender, EventArgs e) { Ghost_Background.Play(); }
private void Ghost_Background_MediaEnded(object sender, RoutedEventArgs e) { Ghost_Background.Play(); }
// Constructor protected override void OnNavigatedTo(NavigationEventArgs e) { Ghost_Background.Play(); Ghost2.Opacity = 0; Ghost2.Visibility = Visibility.Collapsed; }