예제 #1
0
        private void Menu_Load(object sender, EventArgs e)
        {
            //this.TopMost = true;

            this.FormBorderStyle = FormBorderStyle.None;

            this.WindowState = FormWindowState.Maximized;

            axWindowsMediaPlayer1.Visible = false;

            Sound.PlaySong(Sound.Song_menu);
        }
예제 #2
0
 public void UpdateEnding(bool state)
 {
     if (state == true)
     {
         pictureBox1.Image = Gra.Properties.Resources.victory;
         Sound.PlaySong(Sound.Song_victory);
     }
     else
     {
         pictureBox1.Image = Gra.Properties.Resources.gameover;
         Sound.PlaySong(Sound.Song_lost);
     }
 }