private void player1Win() { disabledTimer(); this.LostFocus -= new System.EventHandler(Pause); this.GotFocus -= new System.EventHandler(Resume); labelLife2.Text = "0x"; UWIN U = new UWIN(1); U.ShowDialog(); this.Close(); }
private void winStage() { this.LostFocus -= new System.EventHandler(Pause); this.GotFocus -= new System.EventHandler(Resume); this.timer1.Enabled = false; this.TimeLeft.Enabled = false; score = 0; UWIN u = new UWIN(); u.ShowDialog(); this.Close(); }