public void CarExitedCarPark() { if (!emergency) { fullSign.SetLit(false); exitBarrier.Lower(); ticketValidator.ClearMessage(); currentSpaces++; } else { emergVehicleNo--; exitBarrier.Lower(); } }
private void btnEmergencyExit_Click(object sender, EventArgs e) { ticketValidator.ClearMessage(); exitBarrier.Raise(); UpdateDisplay(); }