private void newBtn_Click(object sender, RoutedEventArgs e) { _currentClient = _repo.CreateNewClient(); _clientViewSource.ObjectInstance = _currentClient; clientListBox.SelectedItem = _currentClient; }
private void newBtn_Click(object sender, RoutedEventArgs e) { _currentClient = _repo.CreateNewClient(); _clientViewSource.ObjectInstance = _currentClient; clientListBox.SelectedItem = _currentClient; }