/// <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() + ")"; }
private void getNewTotal() { totalPayment = (FirstClassCount * Price.getFirstClassPrice() + (BusinessCount * Price.getBusinessPrice()) + (EconomicCount * Price.getEconomicPrice()) - totalDiscount); newtotal_textBox.Text = "$ " + totalPayment.ToString(); }