public void showFerrari(Garage g, Car c, String reason)
 {
     lbFortuneFritz.Items.Add("Garage " + g.Name + " has a Ferrari " + c.Type + " for sale. Reason for notification: " + reason);
 }
Exemple #2
0
 public void showCheapCar(Garage g, Car c, String reason)
 {
     lbBudgetBob.Items.Add("Garage " + g.Name + " sells a cheap car " + c.Brand + " " + c.Type + " for price " + c.CurrentPrice + ". Reason for notification: " + reason);
 }