示例#1
0
 public Sales()
 {
     InitializeComponent();
     _IProduct         = new BLL.BProduct();
     _IProductPackSize = new BLL.BProductPackSize();
     _IDMS_AreaStock   = new BLL.BDMS_AreaStock();
     COMMON.DDL.PopulateDropDownList(_IProduct.GetProductListByName().ToList(), ddlProductName, "ProductID", "ProductName");
     COMMON.DDL.PopulateDropDownList(_IProduct.GetProductListByCode().ToList(), ddlProductCode, "ProductID", "ProductCode");
 }
示例#2
0
        public StockEntryPage()
        {
            InitializeComponent();
            _IProduct         = new BLL.BProduct();
            _IProductPackSize = new BLL.BProductPackSize();
            _IDMS_AreaStock   = new BLL.BDMS_AreaStock();

            COMMON.DDL.PopulateDropDownList(_IProduct.GetProductList().ToList(), ddlProduct, "ProductID", "ProductName");
            //GetCurrentStock();
        }
示例#3
0
        public ProductEntry()
        {
            InitializeComponent();
            _IProduct         = new BLL.BProduct();
            _IProductPackSize = new BLL.BProductPackSize();
            _Ibrand           = new BLL.BBrand();
            _IProductGeneric  = new BLL.BProductGeneric();
            _IProductCategory = new BLL.BProductCategory();

            COMMON.DDL.PopulateDropDownList(_IProductPackSize.GetProductPackSizeList().ToList(), ddlPackSize, "PackSizeID", "PackSize");
            COMMON.DDL.PopulateDropDownList(_Ibrand.GetBrandList().ToList(), ddlBrand, "BrandID", "BrandName");
            COMMON.DDL.PopulateDropDownList(_IProductGeneric.GetProductGenericList().ToList(), ddlGenericName, "PGenericID", "GenericName");
            //COMMON.DDL.PopulateDropDownList(_IProductCategory.GetProductCategoryList().ToList(), ddlCategorygory,"","");
            COMMON.DDL.PopulateDropDownList(_IProductCategory.GetProductCategoryList().ToList(), ddlCategory, "Id", "Name");
            Reset();
        }
示例#4
0
 public PackSizeEntry()
 {
     InitializeComponent();
     _IProductPackSize = new BLL.BProductPackSize();
     Reset();
 }