Пример #1
0
        void MediaPlayer_ActiveSongChanged(object sender, EventArgs e)
        {
            try
            {
                game.Console.WriteLine("Song Changed to " + MediaPlayer.Queue.ActiveSong.Name + " | Album: " + MediaPlayer.Queue.ActiveSong.Album);
                DrawPosition = new Vector2(0, (game.GameHeight) - 100);

                Refresh();
                FadeIn();
            }
            catch
            {
                game.SayMessage("Error changing the song");
            }
        }