Example #1
0
        private void ChangeSong(object sender, EventArgs e)
        {
            int number = Songs.List.IndexOf(_song) + 1;

            if (number >= Songs.List.Count)
            {
                number = 0;
            }

            _song = Songs.List[number];
            _songDisplayer.SetString(_song.DisplayName);
            GameController.Song = _song;

            _mainBox.Refresh();
            Center(_mainBox);
        }