Beispiel #1
0
 private void btnCharger_Click(object sender, EventArgs e)
 {
     p = shop1.GetProduct("Laptop Charger");
     order.AddProduct(p);
     AddNew();
 }
Beispiel #2
0
 private void btnUSB_Click(object sender, EventArgs e)
 {
     p = shop1.GetProduct("USB Cable");
     order.AddProduct(p);
     AddNew();
 }
Beispiel #3
0
 private void button6_Click(object sender, EventArgs e)
 {
     p = shop1.GetProduct("Hoverboard");
     order.AddProduct(p);
     AddNew();
 }
Beispiel #4
0
 private void btnRedBull_Click(object sender, EventArgs e)
 {
     p = shop1.GetProduct("PortableSpeaker");
     order.AddProduct(p);
     AddNew();
 }
Beispiel #5
0
 private void btnSchweppes_Click(object sender, EventArgs e)
 {
     p = shop1.GetProduct("Tablet");
     order.AddProduct(p);
     AddNew();
 }
Beispiel #6
0
 private void btnFanta_Click(object sender, EventArgs e)
 {
     p = shop1.GetProduct("GoPro");
     order.AddProduct(p);
     AddNew();
 }
Beispiel #7
0
 private void btnCola_Click(object sender, EventArgs e)
 {
     p = shop1.GetProduct("Camera");
     order.AddProduct(p);
     AddNew();
 }