예제 #1
0
        public void newGame()
        {
            GameBackground.Initialize();
            this.BackgroundImage = GameBackground.NextImage();
            changeColorLabel();
            this.KeyPreview = true;
            TheGame         = new Game(this);
            InitializeTimers();
            CurrentScore = 0;

            Image i = Properties.Resources.rsz_exit;

            pbExit.Image     = i;
            pbExit.Width     = i.Width;
            pbExit.Height    = i.Height;
            pbExit.BackColor = Color.Transparent;

            SetSoundImage();
            SetPauseImage();

            lblPause.Visible = IsPaused = false;
        }