예제 #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());
 }