public void DoLoadAndPlay(IEnumerable <string> items) { var needplay = false; if (PlayList.Count < 1) { needplay = true; } PlayList.DoLoad(items); if (needplay) { PlayList.NextTrack(); StartPlay(); } else { Dispatcher.Invoke(() => { MainView.SelectedIndex = 1; }); } DoBringIntoView(); }