private void BtnAjouterAttribution_Click(object sender, RoutedEventArgs e) { try { AddAttribution addat = new AddAttribution("", "", "", "", "", "", "", "", "", "", ""); this.NavigationService.Navigate(addat); } catch (Exception) { } }
private void BtnAfficherAttribution_Click(object sender, RoutedEventArgs e) { try {/* * MessageBox.Show(tempNumAttribution); * MessageBox.Show(tempDateAttribution); * MessageBox.Show(tempCodeClient); * MessageBox.Show(tempNumProjet); * MessageBox.Show(tempNumProgramme); * MessageBox.Show(tempNumIlot); * MessageBox.Show(tempNumlot); * MessageBox.Show(tempTypeBien); * MessageBox.Show(tempNumBloc); * MessageBox.Show(tempNatureProgramme);*/ AddAttribution addat = new AddAttribution(tempNumAttribution, tempDateAttribution, tempCodeClient, tempNumProjet, tempNumProgramme, tempNumIlot, tempNumlot, tempTypeBien, tempNumBloc, tempNatureProgramme, tempIdBien); this.NavigationService.Navigate(addat); } catch (Exception) { } }