コード例 #1
0
 private void SetEnabledTakeAircraftButton(string id)
 {
     TakeAircraftButton.IsEnabled = !string.IsNullOrEmpty(id) &&
                                    station.CheckFreeSlots(out _) &&
                                    !station.CheckOnAircraftOnStation(id);
 }