예제 #1
0
 // Shows form
 public bool ShowDialog(ClsTour prTour)
 {
     _Tour = prTour;
     updateDisplay();
     return(ShowDialog() == DialogResult.OK);
 }
예제 #2
0
 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)));
 }
예제 #3
0
 public void UpdatelblShowTotalCosts()
 {
     _Tour.TotalCosts       = Convert.ToString(ClsTour.TotalBalance(_Tour));
     lblShowTotalCosts.Text = _Tour.TotalCosts;
     //   lblShowTotalCosts.Text = Convert.ToString(ClsTour.TotalBalance(_Tour));
 }
예제 #4
0
 public ClsVehicleCost(ClsTour prTour) : base(prTour)
 {
 }
예제 #5
0
 public ClsStaffMemberCost(ClsTour prTour) : base(prTour)
 {
 }
예제 #6
0
 public ClsOtherCost(ClsTour prTour) : base(prTour)
 {
 }