void SaveRecord() { main.records[index].name = textBox1.Text; this.Close(); main.newGame(); main.Activate(); }
private void newGameButton_Click(object sender, EventArgs e) { main.newGame(); main.endForm = null; this.Close(); }