Example #1
0
        public void gameWin()
        {
            timer1.Stop();
            timer2.Stop();
            GameWin gl = new GameWin(this.Width, this.Height, this.Location);

            this.Hide();
            gl.ShowDialog();
            this.Close();
        }
Example #2
0
        public void gameWin()
        {
            timer1.Stop();
            timer2.Stop();
            GameWin gl = new GameWin(this.Width, this.Height, this.Location, gd.name, int.Parse(lblPoints.Text));

            this.Hide();
            gl.ShowDialog();
            axwmp.Ctlcontrols.stop();
            this.Close();
        }