Exemplo n.º 1
0
 public OrderList(string user, string symphonie, string tango, string mocca)
 {
     var newOrder = new Order();
     newOrder.User = user;
     newOrder.Symphonie = symphonie;
     newOrder.Tango = tango;
     newOrder.Mocca = mocca;
     this.Add(newOrder);
 }
Exemplo n.º 2
0
 public void Remove(Order item)
 {
     _orderList.Remove(item);
     this.NotifyCollectionChanged(NotifyCollectionChangedAction.Remove, item);
 }
Exemplo n.º 3
0
 public void NotifyCollectionChanged(NotifyCollectionChangedAction action, Order oldItem, Order newItem)
 {
     this.CollectionChanged(this, new NotifyCollectionChangedEventArgs(action, newItem, oldItem));
 }
Exemplo n.º 4
0
 public void Add(Order item)
 {
     _orderList.Add(item);
     this.NotifyCollectionChanged(NotifyCollectionChangedAction.Add, item);
 }