public void gameWin() { timer1.Stop(); timer2.Stop(); GameWin gl = new GameWin(this.Width, this.Height, this.Location); this.Hide(); gl.ShowDialog(); this.Close(); }
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(); }