Esempio n. 1
0
 /// <summary>
 /// Gets prices for the label to display in the form
 /// </summary>
 private void fillPrices()
 {
     economicclass_button.Text += " ($" + Price.getEconomicPrice() + ")";
     businessclass_button.Text += " ($" + Price.getBusinessPrice() + ")";
     firstclass_button.Text    += " ($" + Price.getFirstClassPrice() + ")";
 }
Esempio n. 2
0
 private void getNewTotal()
 {
     totalPayment          = (FirstClassCount * Price.getFirstClassPrice() + (BusinessCount * Price.getBusinessPrice()) + (EconomicCount * Price.getEconomicPrice()) - totalDiscount);
     newtotal_textBox.Text = "$ " + totalPayment.ToString();
 }