private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e) { MPlayer_Back.Source = new Uri("/Assets/Sound/Background_Music.mp3", UriKind.Relative); MPlayer_Back.Play(); myStoryboard.Begin(); }
private void MPlayer_Button_MediaOpened(object sender, RoutedEventArgs e) { MPlayer_Back.Pause(); MPlayer_Button.Play(); }
private void MPlayer_Button_MediaEnded(object sender, RoutedEventArgs e) { MPlayer_Back.Play(); MPlayer_Button.Stop(); }
private void MPlayer_Back_MediaEnded(object sender, RoutedEventArgs e) { MPlayer_Back.Play(); }