Пример #1
0
        private void ProductSettingScreen_Load(object sender, EventArgs e)
        {
            dataGridView.DataSource = sellerService.AllProductList(new Contracts.Request.Product.AllProductRequest(seller.SellerID));
            var categorylist = sellerService.CategoryList();

            cbCategory.DataSource    = categorylist;
            cbCategory.DisplayMember = "CategoryName";
            var UnitList = sellerService.UnitList();

            cbUnit.DataSource    = UnitList;
            cbUnit.DisplayMember = "UnitName";
            var statulist = sellerService.StockStatusList();

            cbStatu.DataSource    = statulist;
            cbStatu.DisplayMember = "StockStatus";
        }