예제 #1
0
 //Déclaration des constructeurs
 #region Constructors
 public Commande(string noCommand, Vendeur vendeur, Clientel client, string date, bool facture)
 {
     NoCommand = noCommand;
     Vendeur   = vendeur;
     Client    = client;
     Date      = date;
     Facture   = facture;
 }
예제 #2
0
 //Définitions des constructeurs
 #region Constructors
 public Vendeur(string noVendeur, Vendeur vendeurChefEq, string nomVend,
                string prenomVend, string dateEmbau, string villeVend,
                float salaireVend, float commission)
 {
     NoVendeur     = noVendeur;
     VendeurChefEq = vendeurChefEq;
     NomVend       = nomVend;
     PrenomVend    = prenomVend;
     DateEmbau     = dateEmbau;
     VilleVend     = villeVend;
     SalaireVend   = salaireVend;
     Commission    = commission;
 }
예제 #3
0
 public Commande()
 {
     NoCommand = "0";
     Vendeur   = new Vendeur();
     Client    = new Clientel();
 }