private void AttackClick(object sender, EventArgs e) { AttackForm window = new AttackForm(ref AllActions); window.Show(); this.Close(); }