예제 #1
0
 public void SetWarehouseGroup(List <Item> warehouseList)
 {
     WarehouseGroup.Clear();
     for (int i = 0; i < warehouseList.Count; i++)
     {
         WarehouseGroup.Add(warehouseList[i]);
     }
 }
예제 #2
0
 public void SetBagGroup(List <Item> bagList)
 {
     BagGroup.Clear();
     for (int i = 0; i < bagList.Count; i++)
     {
         BagGroup.Add(bagList[i]);
     }
 }
예제 #3
0
        /// <summary>
        /// Remove all existing items in the group.
        /// </summary>
        private protected void RemoveAll()
        {
            foreach (var item in ItemGroup)
            {
                item.SelectedChanged -= GroupSelectionHandler;
                item.ResetItemGroup();
            }

            ItemGroup.Clear();
        }