Exemple #1
0
 private void SubmitOrder()
 {
     ActiveOrder = new Order(notification, ActiveCart, paymentProcessor);
     ActiveOrder.SubmitOrder(catalogProducts, TotalPrice);
     lstDisplay.Items.Clear();
     lstSelection.Items.Clear();
     txtTotal.Clear();
     ListProductsInCatalog(productRepo);
     TotalPrice = 0;
     MessageBox.Show("Order Submitted Successfully");
 }