private void WeaponButton_Click(object sender, EventArgs e)
        {
            AddWeaponsForm newScreen = new AddWeaponsForm(newUnit);

            newScreen.Show();
            Close();
        }
示例#2
0
        private void Button1_Click(object sender, EventArgs e)
        {
            unit.AddWeapon(newWeapon);
            AddWeaponsForm newScreen = new AddWeaponsForm(unit);

            newScreen.Show();
            Close();
        }