Ejemplo n.º 1
0
        public OrderManagerVM()
        {
            _dataReader = new DataReader();
            _translator = new Translator();

            DataGridVm       = new InventoryItemDataGridVM();
            BasicOrderGridVm = new BasicOrderInfoDataGridVM();
            DataGridVm.waitForDataEvent(BasicOrderGridVm);
            BasicOrderGridVm.WaitForItemDeletion(DataGridVm);
            FillOrders();
        }
Ejemplo n.º 2
0
 public void WaitForItemDeletion(InventoryItemDataGridVM vm)
 {
     vm.itemDeletedEvent += DeleteEventHandler;
 }