예제 #1
0
 public FormulaireTicket(decimal prix, PayementCommande p, int id, GestionCommande g)
 {
     InitializeComponent();
     this.prix = prix;
     this.p    = p;
     this.com  = id;
     this.g    = g;
 }
예제 #2
0
        private void Paiement_Click(object sender, RoutedEventArgs e)
        {
            Commande cm1   = (Commande)dataGrid.SelectedValue;
            int      id    = cm1.IdCommande;
            int      index = dataGrid.SelectedIndex;

            Layouts.PayementCommande payment = new Layouts.PayementCommande(id, index, this);
            payment.ShowDialog();
        }