Пример #1
0
 private void imprim_Click(object sender, RoutedEventArgs e)
 {
     if (succ > 0)
     {
         rapport_facture cr_facture = new rapport_facture(3, a.list_inf, list_info_fact);
         cr_facture.Show();
     }
     else
     {
         MessageBox.Show("Vous devez valider la commande avant !!");
     }
 }
Пример #2
0
 private void imprim_Click(object sender, RoutedEventArgs e)
 {
     if (valide)
     {
         rapport_facture cr_facture = new rapport_facture(1, Window1.list_inf, list_info_fact);
         cr_facture.Show();
     }
     else
     {
         MessageBox.Show("Vous devez valider l'achat avant !!");
     }
 }