public static void PlayMusic(int index = -1) { if (index != -1) { PlayIndex = index; } if (songs.Count > PlayIndex && PlayIndex > -1) { tempSong = songs[PlayIndex]; if (tempSong.FileUrl.StartsWith("http:")) { bassEng.OpenUrlAsync(tempSong.FileUrl); } else { if (!RemoveNotExitsFile(tempSong)) { return; } bassEng.OpenFile(tempSong.FileUrl); } } }