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