コード例 #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();
     }
 }
コード例 #3
0
 private void Button_Previous_Click(object sender, RoutedEventArgs e)
 {
     if (PlayingService.IsPlayingSong)
     {
         PlayingService.PlayLastSongs();
     }
     else
     {
         PlayingService.PlayLastRadio();
     }
     MyMainPage_OnIsOrNotFavoriteChanged();
 }