private void CompleteCombo_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (CompleteCombo.SelectedItem != null) { if (CompleteCombo.SelectedItem.ToString() != completedDescription && checkIgnoreChanges()) { completedDescription = CompleteCombo.SelectedItem.ToString(); completedNumber = ProjectFunctions.GetCompletedKey(completedDescription); refreshActionsGrid(); } else { CompleteCombo.SelectedItem = completedDescription; } } }