Exemplo n.º 1
0
 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();
 }