public Form2(GoodsList productList) : this() { foreach (Goods p in productList.goodList) { Products.Add(p.GoodsName); } comboBox1.DataSource = Products; }
public OrderService(GoodsList pl) { this.pl = pl; }