private void socketOnBoardCombobox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (socketOnBoardCombobox.Items.Count > 0) { if (socketOnBoardCombobox.SelectedItem == null) { return; } SelectedSocketName = socketOnBoardCombobox.SelectedItem.ToString(); GCIToDUTMap = GCIDB.GetPinMap(SelectedPartName, SelectedBoardName, SelectedSocketName); } }