private async void submit_form(object sender, RoutedEventArgs e)
        {
            ServiceAgence.CriteresRechercheBiensImmobiliers criteres = MainWindow.initNullCriteres();

            if (this.types_transaction.SelectedValue != null)
            {
                ServiceAgence.BienImmobilierBase.eTypeTransaction type_transaction_value = (ServiceAgence.BienImmobilierBase.eTypeTransaction) this.types_transaction.SelectedValue;
                criteres.TypeTransaction = type_transaction_value;
            }

            String town = this.textbox_town.Text;

            criteres.Ville = town;

            await this.parent_windows.new_research(criteres);

            this.Close();
        }
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     this._typeTransaction = ServiceAgence.BienImmobilierBase.eTypeTransaction.Vente;
     ChargerBiensImmobiliers();
 }