Exemplo n.º 1
0
 public void SetWarehouseGroup(List <Item> warehouseList)
 {
     WarehouseGroup.Clear();
     for (int i = 0; i < warehouseList.Count; i++)
     {
         WarehouseGroup.Add(warehouseList[i]);
     }
 }
Exemplo n.º 2
0
 public void SetBagGroup(List <Item> bagList)
 {
     BagGroup.Clear();
     for (int i = 0; i < bagList.Count; i++)
     {
         BagGroup.Add(bagList[i]);
     }
 }
Exemplo n.º 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();
        }