public FreakyGarageForm() { InitializeComponent(); this.frmF = new FortuneFritzForm(); // the window for Fortune Fritz this.frmB = new BudgetBobForm(); // the window for Budget Bob this.myGarage = new Garage("Freaky Garage"); addSomeTestingStuff(); showAllCars(); }
public FreakyGarageForm() { InitializeComponent(); this.frmF = new FortuneFritzForm(); // the window for Fortune Fritz this.frmB = new BudgetBobForm(); // the window for Budget Bob this.myGarage = new Garage("Freaky Garage"); myGarage.FerrariUpdate += frmF.showFerrari; myGarage.Below5000Update += frmB.showCheapCar; addSomeTestingStuff(); showAllCars(); linkedListForTestDrives = new LinkedListForTestDrives(); }
private LinkedListForTestDrives llForTestDrives = new LinkedListForTestDrives(); // assignment 3b public FreakyGarageForm() { InitializeComponent(); this.frmF = new FortuneFritzForm(); // the window for Fortune Fritz this.frmB = new BudgetBobForm(); // the window for Budget Bob this.myGarage = new Garage("Freaky Garage"); // Assignment 2 this.myGarage.processCheapCar += new Garage.InterestingCarHandler(frmB.showCheapCar); this.myGarage.processFerrari += new Garage.InterestingCarHandler(frmF.showFerrari); addSomeTestingStuff(); showAllCars(); }