示例#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();
 }
示例#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();
 }