private void addHScore_Click(object sender, EventArgs e) { PlayerName = HScoreN.Text; HS.addHStoDB(PlayerName, PlayerScoretosubmit); this.Hide(); MainMenu mm = new MainMenu(); mm.Show(); mm.Closed += (s, args) => Close(); }