private void btnNewClient_Click(object sender, RoutedEventArgs e)
 {
     var newCustWindow = new NewCustomerWindow(getClientVM());
     newCustWindow.Owner = this;
     newCustWindow.Show();
 }
 /// <summary>
 /// valib olemas oleva kliendi; tekitab kliendi vaate akna valitud kliendi objektiga
 /// </summary>
 private void lstViewClients_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (lstViewClients.SelectedItems.Count == 1)
     {
         DBA.Client client = (DBA.Client) lstViewClients.SelectedItem;
         var newCustWindow = new NewCustomerWindow(getClientVM(), client);
         newCustWindow.Owner = this;
         newCustWindow.ShowDialog();
     }
 }