public windowGererStocks(windowGestionnaire w)
 {
     InitializeComponent();
     foreach (Produit p in RessourceSQL.allProduits)
     {
         boxIngredients.Items.Add(p);
         listProduit.Items.Add(p);
     }
     windowGestionnaire = w;
 }
 public windowGererCdR(windowGestionnaire w)
 {
     InitializeComponent();
     foreach (string cdr in RessourceSQL.listeCdR())
     {
         boxCdR.Items.Add(cdr);
     }
     foreach (Recette r in RessourceSQL.allRecettes)
     {
         boxRecetteCdR.Items.Add(r);
     }
     windowGestionnaire = w;
 }