private void listBox_OnSelectionChangedListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (!_isLoading) { _isListChanging = true; _currentClient = _repo.LoadClientGraph((int)clientListBox.SelectedValue); _clientViewSource.ObjectInstance = _currentClient; _isListChanging = false; } }