// Shows form public bool ShowDialog(ClsTour prTour) { _Tour = prTour; updateDisplay(); return(ShowDialog() == DialogResult.OK); }
private void btnCalculate_Click(object sender, EventArgs e) { _Tour.PricePerPerson = (ClsTour.WorkOutPricePerPerson(_Tour)); lblShowPricePP.Text = _Tour.PricePerPerson.ToString("c"); //string.Format(Convert.ToString(_Tour.PricePerPerson)); // lblShowPricePP.Text = string.Format(Convert.ToString(ClsTour.WorkOutPricePerPerson(_Tour))); }
public void UpdatelblShowTotalCosts() { _Tour.TotalCosts = Convert.ToString(ClsTour.TotalBalance(_Tour)); lblShowTotalCosts.Text = _Tour.TotalCosts; // lblShowTotalCosts.Text = Convert.ToString(ClsTour.TotalBalance(_Tour)); }
public ClsVehicleCost(ClsTour prTour) : base(prTour) { }
public ClsStaffMemberCost(ClsTour prTour) : base(prTour) { }
public ClsOtherCost(ClsTour prTour) : base(prTour) { }