Exemplo n.º 1
0
 public void RemoveHistoryChange(Consumed c)
 {
     Changes.Remove(Changes.Find(x=> x.ID == c.ItemChangeID));
     stockChanged = true;
     RecalculateStockAsync();
     if (ItemRemoved != null)
         ItemRemoved(this, new ChangeEventArgs());
 }
Exemplo n.º 2
0
 public void RemoveHistoryChange(Consumed c)
 {
     History.Remove(c);
 }
Exemplo n.º 3
0
 private void RemoveFromHistory(Consumed c)
 {
     // Remove Consumed from List
     ((Consumer)Model).RemoveHistoryChange(c);
     RaisePropertyChanged("History");
     App.SaveItemListAsync();
     App.SavePersonsListAsync();
     Log.WriteWarning(App.CurrentVendor.Name + " removed one Item from " + Model.Name);
 }