public override decimal CalcCost(ClsTour prTour)
 {
     return(InputAmount);
 }
Beispiel #2
0
 public override decimal CalcCost(ClsTour prTour)
 {
     return(InputAmount * prTour.TravelDistance);
 }
 public bool ShowDialog(ClsTour prTour)
 {
     _Tour = prTour;
     UpdateDisplay();
     return(ShowDialog() == DialogResult.OK);
 }
 public override decimal CalcCost(ClsTour prTour)
 {
     return(InputAmount * Convert.ToDecimal((prTour.EndDate - prTour.StartDate).TotalDays));
 }