/// <summary> /// 播放列表双击 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private async void ListBox_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e) { ListBox listBox = (ListBox)sender; PlayingSongBaseObject song = listBox.SelectedItem as PlayingSongBaseObject; if (PlayingService.IsPlayingSong) { await PlayingService.ChangePlayingSong(song.Id); } else { await PlayingService.ChangePlayingRadio(song.Id); } }
private async void ListBox_RadioDetail_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e) { await PlayingService.ChangePlayingRadio((((ListBox)sender).SelectedItem as RadioSongItem).MainSong.Id, radioSongItems); }