private void OnStationStateChange(object sender, EventArgs e) { var idInput = AircraftIdInput.Text; SetEnabledTakeAircraftButton(idInput); SendNextAircraftButton.IsEnabled = station.AnyAircraftsOnStation(); AircraftIdInput.IsEnabled = station.CheckFreeSlots(out _); }