示例#1
0
 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();
 }
示例#2
0
 private void MPlayer_Button_MediaOpened(object sender, RoutedEventArgs e)
 {
     MPlayer_Back.Pause();
     MPlayer_Button.Play();
 }
示例#3
0
 private void MPlayer_Button_MediaEnded(object sender, RoutedEventArgs e)
 {
     MPlayer_Back.Play();
     MPlayer_Button.Stop();
 }
示例#4
0
 private void MPlayer_Back_MediaEnded(object sender, RoutedEventArgs e)
 {
     MPlayer_Back.Play();
 }