private void ShowSongList() { songs = FindSong.GetSongs(); maxPage = songs.Length / pageCount; if (songs.Length % pageCount == 0) { maxPage -= 1; } ShowData(); }
private void ShowSongList() { Song[] arr = FindSong.GetSongs(); for (int i = 0; i < 10; i++) { if (i < arr.Length) { songs[i].Visible = true; songs[i].SongName = } } }