// Second entrance and exit private void btnCarArrivesAtEntrance2_Click(object sender, EventArgs e) { carPark.CarArrivedAtEntrance2(); entrySensor2.CarDetected2(); btnCarArrivesAtEntrance2.Visible = false; btnDriverPressesForTicket2.Visible = true; UpdateDisplay(); }
public override void CarDetected2() { carOnSensor2 = true; carpark.CarArrivedAtEntrance2(); }