comparison FrmNewUnitEquipment.cs @ 75:bdd10c56a917

Re #190: Mutex groups aren't honoured when adding equipment * Change to use new method name (since equipment is no longer split into "required" and "optional") no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Tue, 29 Sep 2009 19:51:32 +0000
parents 1576f669b3eb
children f2006db02ad9
comparison
equal deleted inserted replaced
74:f1b7a08a8f6f 75:bdd10c56a917
38 { 38 {
39 commandStack = stack; 39 commandStack = stack;
40 this.unit = unit; 40 this.unit = unit;
41 InitializeComponent(); 41 InitializeComponent();
42 this.Text = "New equipment for " + unit.Name; 42 this.Text = "New equipment for " + unit.Name;
43 object[] items = Arrays.Subtract(unit.GetAllowedOptionalEquipment(), unit.GetEquipment()); 43 object[] items = Arrays.Subtract(unit.GetAllowedAdditionalEquipment(), unit.GetEquipment());
44 listItems.Items.AddRange(items); 44 listItems.Items.AddRange(items);
45 equipmentAmount.SetUnit(unit); 45 equipmentAmount.SetUnit(unit);
46 } 46 }
47 47
48 /// <summary> 48 /// <summary>