private void PlayNext() { Mini_UpdateTimer.Enabled = false; Artist = ""; Title = ""; if (Core.PlayList.Count == 0) { return; } int next = Core.GetNext(); Play(); }
private void PlayNext(bool play = true) { if (Core.PlayList.Count == 0) { return; } var nextSongId = Core.GetNext(); Main_PlayList.SelectedIndices.Clear(); Main_PlayList.SelectedIndices.Add(nextSongId); Main_PlayList.EnsureVisible(nextSongId); Main_PlayList.Focus(); SetDetail(); if (play) { Play(); } }