Beispiel #1
0
 ///<summary>
 /// Confirms editing is finished on an item.
 ///</summary>
 public void ConfirmItemEdit()
 {
     if (model.ConfirmStockEdit(view.editPanel.PriceInput, view.editPanel.QuantityInput, view.editPanel.DiscountInput))
     {
         view.editPanel.ClosePanel();
     }
     else
     {
         view.editPanel.DisplayErrorMessage(Constants.ERROR_EDIT);
     }
 }