// GET all companies from Sql and store them in StockPolishcompany list private void btGetAllCompaniesFromSql_Click(object sender, RoutedEventArgs e) { SqlAdapter SqlAdapt = new SqlAdapter(); ListOfPolishCompanies = SqlAdapt.GetCompaniesList(); ShowRaportOnScreen(SqlAdapt.GetRaport()); }