Ejemplo n.º 1
0
 // Load datbase to view without change in category and brand
 private void onLoad()
 {
     importTBBindingSource.DataSource = ImportBUS.getAll();
     productBindingSource.DataSource  = ProductBUS.getAll();
     importBindingSource.DataSource   = new Import();
     dgvImport.ClearSelection();
 }
Ejemplo n.º 2
0
 // Load database to view
 private void initLoad()
 {
     importTBBindingSource.DataSource = ImportBUS.getAll();
     importBindingSource.DataSource   = new Import();
     categoryBindingSource.DataSource = CategoryBUS.getAll();
     brandBindingSource.DataSource    = BrandBUS.getAll();
     productBindingSource.DataSource  = ProductBUS.getAll();
     dgvImport.ClearSelection();
 }