private void backgroundWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     var progress = 25;
       backgroundWorker.ReportProgress(progress);
       var dataFetcher = new AgentDataFetcher(selectedAgents);
       backgroundWorker.ReportProgress(progress * 2);
       selectedAgents = dataFetcher.GCCAgentsWithCompleteAttributes();
       backgroundWorker.ReportProgress(progress * 4);
 }
 private void AgentReportViewer_Load(object sender, EventArgs e)
 {
     dataGridView.Hide();
       dataGridView.RowHeadersVisible = false;
       dataGridView.MultiSelect = false;
       dataGridView.AutoGenerateColumns = true;
       selectedAgents = new List<GCCAgent> { agent };
       var dataFetcher = new AgentDataFetcher(selectedAgents);
       dataFetcher.GCCAgentsWithCompleteAttributes();
       PopulateDataGrid();
 }
 private void backgroundWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     var dataFetcher = new AgentDataFetcher();
       allAgentsForComparison = dataFetcher.GCCAgentsWithCompleteAttributes();
       RankAgents();
 }