private void AjouterBienImmobilier(object sender, RoutedEventArgs e)
 {
     Statics.TryCatch(() => { lvBienImmobiliers.SelectedItem = BDD.AjouterBienImmobilier(DateTime.Now, BDD.Villes.FirstOrDefault(), ""); }, nameof(AjouterBienImmobilier));
 }
 private void AjouterClient(object sender, RoutedEventArgs e)
 {
     Statics.TryCatch(() => { lvClients.SelectedItem = BDD.AjouterClient("Nouveau", "Client", BDD.Villes.FirstOrDefault(), "", "0032"); }, nameof(AjouterClient));
 }
Exemple #3
0
 private void AjouterProprietaire(object sender, RoutedEventArgs e)
 {
     Statics.TryCatch(() => { lvProprietaires.SelectedItem = BDD.AjouterProprietaire("Nouveau", "Proprietaire", BDD.Villes.FirstOrDefault(), "", "0032"); }, nameof(AjouterProprietaire));
 }
 private void AjouterVille(object sender, RoutedEventArgs e)
 {
     Statics.TryCatch(() => { lvVilles.SelectedItem = BDD.AjouterVille("Nouvelle Ville", "CP"); }, nameof(AjouterVille));
 }
Exemple #5
0
 private void AjouterType(object sender, RoutedEventArgs e)
 {
     Statics.TryCatch(() => { lvTypes.SelectedItem = BDD.AjouterType("Nouveau"); }, nameof(AjouterType));
 }