示例#1
0
 private void Button_previous_Click(object sender, RoutedEventArgs e)
 {
     if (PlayingService.IsPlayingSong)
     {
         PlayingService.PlayLastSongs();
     }
     else
     {
         PlayingService.PlayLastRadio();
     }
 }
示例#2
0
 private void CommandManager_PreviousReceived(MediaPlaybackCommandManager sender, MediaPlaybackCommandManagerPreviousReceivedEventArgs args)
 {
     if (PlayingService.IsPlayingSong)
     {
         PlayingService.PlayLastSongs();
     }
     else
     {
         PlayingService.PlayLastRadio();
     }
 }
 private void Button_Previous_Click(object sender, RoutedEventArgs e)
 {
     if (PlayingService.IsPlayingSong)
     {
         PlayingService.PlayLastSongs();
     }
     else
     {
         PlayingService.PlayLastRadio();
     }
     MyMainPage_OnIsOrNotFavoriteChanged();
 }