private void WeaponButton_Click(object sender, EventArgs e) { AddWeaponsForm newScreen = new AddWeaponsForm(newUnit); newScreen.Show(); Close(); }
private void Button1_Click(object sender, EventArgs e) { unit.AddWeapon(newWeapon); AddWeaponsForm newScreen = new AddWeaponsForm(unit); newScreen.Show(); Close(); }