private void button2_Click(object sender, EventArgs e) { this.Hide(); STAGE1Frame s = new STAGE1Frame(1); s.Closed += (a, args) => this.Close(); s.Show(); }
public void button1_Click(object sender, EventArgs e) { this.Hide(); p.DamageTimer.Start(); p.DamageTimer.Enabled = true; p.gametimer.Start(); p.gametimer.Enabled = true; p.HealthTimer.Start(); p.HealthTimer.Enabled = true; p.BossAttack.Start(); p.BossAttack.Enabled = true; p.bsT.Start(); p.bsT.Enabled = true; p.Show(); }