private void SearchClient_Click(object sender, RoutedEventArgs e)
 {
     SearchWind search = new SearchWind("Client");
     {
         search.ShowDialog();
         if (search.exec)
         {
             this.dataGridClient.ItemsSource = search.FoundClients;
         }
     }
 }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     SearchWind search = new SearchWind("Room");
     {
         search.ShowDialog();
         if (search.exec)
         {
             this.dataGridRoom.ItemsSource = search.FoundRooms;
         }
     }
 }