public List <DropSlot> GenerateDropSlots() { List <DropSlot> slots = new List <DropSlot>(); if (!this.itemRelations.ContainsKey(this.Item)) { return(slots); } foreach (ItemInfo item in this.itemRelations[this.Item]) { DropSlot component_slot = new DropSlot(); component_slot.Set(item); component_slot.ForeColor = Color.FromArgb(225, 225, 225); component_slot.Type = DropSlot.DataTypes.Item; slots.Add(component_slot); } return(slots); }