public frmSubProductCategory()
 {
     productSubCategoryBLL = new ProductSubCategoryBLL(dbHelper);
     productCategoryBLL    = new ProductCategoryBLL(dbHelper);
     InitializeComponent();
     dataGridView1.CellContentClick += dataGridView1_CellContentClick;
     FillGrid();
     GetAllProductCategory();
 }
Exemple #2
0
 public frmProduct()
 {
     productBLL            = new ProductBLL(dbHelper);
     sizeBLL               = new SizeBLL(dbHelper);
     productSubCategoryBLL = new ProductSubCategoryBLL(dbHelper);
     productCategoryBLL    = new ProductCategoryBLL(dbHelper);
     InitializeComponent();
     dataGridView1.CellContentClick += dataGridView1_CellContentClick;
     FillGrid();
     FillCombo();
 }