예제 #1
0
        private void SupplierLoadData()
        {
            ICompany CompnyFunction = new CompanyService();

            List<CompanyDTO> ListOfCompanies = CompnyFunction.GetCompanies();

            gridSuppliers.DataSource = ListOfCompanies;
        }
예제 #2
0
 private void LoadData()
 {
     ICompany CompanyService = new CompanyService();
     dataGridViewMainAllCompanies.DataSource = CompanyService.GetCompaniesWithCategories();
 }