//calclate per tour cost public override decimal CalculatePerTourCost(ClsTour prTour) { PerTourCost = Price * (Convert.ToDecimal(prTour.TotalTourDays)); return(PerTourCost); }
//calclate per tour cost public override decimal CalculatePerTourCost(ClsTour prTour) { PerTourCost = Price * prTour.Distance; return(PerTourCost); }
public abstract decimal CalculatePerTourCost(ClsTour prTour);
//showdialog updates display, parameter from previous form public DialogResult ShowDialog(ClsTour prTourDetails) { _Tour = prTourDetails; updateDisplay(); return(ShowDialog()); }