예제 #1
0
 private void boutton_Modifier_Reservation_Click(object sender, RoutedEventArgs e)
 {
     ModifierLogement modif = new ModifierLogement(log, res, datagridlogement);
     modif.Show();
     this.Close();
 }
예제 #2
0
 private void Modifierlogement_Click(object sender, RoutedEventArgs e)
 {
     if (Logement_Grid.SelectedItem != null)
     {
         Logement l = Logement_Grid.SelectedItem as Logement;
         ModifierLogement modif = new ModifierLogement(l, ressources, Logement_Grid);
         modif.Show();
     }
 }