private void btnClose_Click(object sender, EventArgs e) { str.Close(); timer1.Stop(); if (soundPlayer != null) { soundPlayer.Stop(); } difficulties.Show(); this.Close(); }
private void btnPlay_Click(object sender, EventArgs e) { difficulties = new Difficulties(this, options); difficulties.Show(); this.Hide(); }