private void InitialLoad() { var sellerRepository = new SellerRepository(); var clientRespository = new ClientRepository(); cbSeller.DataSource = sellerRepository.GetSellers(); cbSeller.ValueMember = "SellerID"; cbSeller.DisplayMember = "SellerName"; cbDocType.DataSource = clientRespository.GetDocumentTypes(); cbDocType.ValueMember = "DocumentTypeID"; cbDocType.DisplayMember = "Abreviation"; cbDocTypeSearch.DataSource = clientRespository.GetDocumentTypes(); cbDocTypeSearch.ValueMember = "DocumentTypeID"; cbDocTypeSearch.DisplayMember = "Abreviation"; }