public SelectClientWindow()
 {
     InitializeComponent();
     ViewModel = DataContext as ShowClientsViewModel;
     if (ViewModel != null) ViewModel.SelectedClientEndChanged += _viewModel_SelectedClientEndChanged;
 }
 public ShowClientsView()
 {
     InitializeComponent();
     _viewModel = DataContext as ShowClientsViewModel;
 }