public OrderManagerVM() { _dataReader = new DataReader(); _translator = new Translator(); DataGridVm = new InventoryItemDataGridVM(); BasicOrderGridVm = new BasicOrderInfoDataGridVM(); DataGridVm.waitForDataEvent(BasicOrderGridVm); BasicOrderGridVm.WaitForItemDeletion(DataGridVm); FillOrders(); }
public void WaitForItemDeletion(InventoryItemDataGridVM vm) { vm.itemDeletedEvent += DeleteEventHandler; }