private void button1_Click(object sender, EventArgs e) { this.Hide(); // call procedure in main form playername.StartNewGame(); }