private void startButton_Click(object sender, EventArgs e) { PlayerNameEntry frm2 = new PlayerNameEntry(); frm2.Show(); frm2.FormClosed += new FormClosedEventHandler(frm2_FormClosed); this.Close(); }