public ReportForm(TrainingSet tSet, ProjectsSet pjSet, Tier1Set t1Set, Tier2Set t2Set, RenewalProducts rSet, IncompleteSet iSet, PriorSet pSet, CommissionNumbers cSet, discrepancies dSet)
 {
     trainSet = tSet;
     projSet = pjSet;
     tier1Set = t1Set;
     tier2Set = t2Set;
     renewalSet = rSet;
     incompleteSet = iSet;
     priorSet = pSet;
     commissionSet = cSet;
     discrepSet = dSet;
     InitializeComponent();
 }
        private void ShowPaidCommissionReport(ArrayList trainList, ArrayList projList, ArrayList tier1List, ArrayList tier2List, ArrayList renewalList, ArrayList incompleteList, ArrayList priorList, CommissionNumbers nums, discrepancies disc)
        {
            //progressBar1.Value = 0;
            //progressBar1.Maximum = 8;

            //TrainingSet tSet;
            //ProjectsSet projSet;
            //Tier1Set tier1Set;
            //Tier2Set tier2Set;
            //RenewalProducts renewalSet;
            //IncompleteSet incompleteSet;
            //PriorSet priorSet;
            //CommissionNumbers numbersSet = nums;
            //discrepancies discrepancySet = disc;

            //progressBar1.Value++;

            //tSet = sqlControl.BuildTrainingSet(trainList);
            //progressBar1.Value++;
            //projSet = sqlControl.BuildProjectsSet(projList);
            //progressBar1.Value++;
            //tier1Set = sqlControl.BuildTier1Set(tier1List);
            //progressBar1.Value++;
            //tier2Set = sqlControl.BuildTier2Set(tier2List);
            //progressBar1.Value++;
            //renewalSet = sqlControl.BuildRenewalSet(renewalList);
            //progressBar1.Value++;
            //incompleteSet = sqlControl.BuildIncompleteSet(incompleteList);
            //progressBar1.Value++;
            //priorSet = sqlControl.BuildPriorSet(priorList);
            //progressBar1.Value++;

            //ReportForm rptform = new ReportForm(tSet, projSet, tier1Set, tier2Set, renewalSet, incompleteSet, priorSet, numbersSet, discrepancySet);

            //progressBar1.Value = 0;
            //rptform.Show();
        }