Пример #1
0
 //calclate per tour cost
 public override decimal CalculatePerTourCost(ClsTour prTour)
 {
     PerTourCost = Price * (Convert.ToDecimal(prTour.TotalTourDays));
     return(PerTourCost);
 }
Пример #2
0
 //calclate per tour cost
 public override decimal CalculatePerTourCost(ClsTour prTour)
 {
     PerTourCost = Price * prTour.Distance;
     return(PerTourCost);
 }
Пример #3
0
 public abstract decimal CalculatePerTourCost(ClsTour prTour);
Пример #4
0
 //showdialog updates display, parameter from previous form
 public DialogResult ShowDialog(ClsTour prTourDetails)
 {
     _Tour = prTourDetails;
     updateDisplay();
     return(ShowDialog());
 }