public Product(Entity.Concrete.User user) : this() { User = user; BL = new BL(); dataGridView1.AutoGenerateColumns = false; Products = BL.GetProducts(); dataGridView1.DataSource = Products; }
public Order(Entity.Concrete.User user) : this() { this.user = user; BL = new BL(); comboBox1.DataSource = BL.GetProducts(); }