Пример #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();
 }