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