private void MoveSelectedLeft() { if (CurrentNomenclaturesField != null) { NomenclatureFieldsSelected.Add(CurrentNomenclaturesField); NomenclatureFields.Remove(CurrentNomenclaturesField); OnPropertyChanged("NomenclatureFieldsSelected"); OnPropertyChanged("NomenclatureFields"); if (NomenclatureFields.Count > 0) { CurrentNomenclaturesField = NomenclatureFields[0]; } } }
private void MoveSelectedLeft() { if (CurrentLookUpSpecificField != null) { NomenclatureFieldsSelected.Add(CurrentLookUpSpecificField); NomenclatureWizardModel.SelectedItems.Add(CurrentLookUpSpecificField); NomenclatureFields.Remove(CurrentLookUpSpecificField); OnPropertyChanged("NomenclatureFieldsSelected"); OnPropertyChanged("NomenclatureFields"); if (NomenclatureFields.Count > 0) { CurrentLookUpSpecificField = NomenclatureFields[0]; } } }