private void AddAttribute(string attCode,int count) { List<AttributeMemoryInfo> attList = weaponInfo.WeaponAttList; for (int i = 0; i < count; i++) { AttributeMemoryInfo attInfo = new AttributeMemoryInfo(); attInfo.Code = attCode; attList.Add(attInfo); } weaponInfo.WeaponAttList = attList; DataBinding(); isEdit = true; }
private void AddAttribute(string attCode, int count) { List <AttributeMemoryInfo> attList = weaponInfo.WeaponAttList; for (int i = 0; i < count; i++) { AttributeMemoryInfo attInfo = new AttributeMemoryInfo(); attInfo.Code = attCode; attList.Add(attInfo); } weaponInfo.WeaponAttList = attList; DataBinding(); isEdit = true; }