private void MenuAjouter_Click(object sender, RoutedEventArgs e) { //APropos nouvelleFenetre = new APropos(); //nouvelleFenetre.ShowDialog(); AddReparation reparation = new AddReparation(); reparation.ShowDialog(); }
private void lbReparation_MouseDoubleClick(object sender, MouseButtonEventArgs e) { int index = this.lbReparation.SelectedIndex; AddReparation reparationUi = new AddReparation((Reparation)this.lbReparation.SelectedItem, this); reparationUi.ShowDialog(); }
private void Button_Click_supprimer(object sender, RoutedEventArgs e) { AddReparation toto = new AddReparation(); toto.ShowDialog(); }