private void GaGeneratePredictionsButton_Click(object sender, EventArgs e)
        {
            LockAllTabPages();
            _windowWidth = _gaWindowWidth;
            _operationStart = DateTime.Now;
            _outputFilename = Utilities.OutputFileName("geneGUI.csv");
            _lengthOfPrediction = _gaLengthOfPrediction;
            _startDayIndex = _gaStartDay;
            _trainerFactory = new GeneticTrainerFactory((float)_gaMutationRate, (float)_gaCrossoverRate, _gaIterations);

            _backgroundWorker = new BackgroundWorker();
            _backgroundWorker.WorkerReportsProgress = true;
            _backgroundWorker.WorkerSupportsCancellation = true;
            _backgroundWorker.DoWork += BackgroundWorkerDoWork;
            _backgroundWorker.RunWorkerCompleted += _backgroundWorker_RunWorkerCompleted;

            var progressForm = new ProgressForm(_backgroundWorker);
            progressForm.Show();
        }
        private void AcorGeneratePredictionsButton_Click(object sender, EventArgs e)
        {
            //LockAllTabPagesButMe();
            LockAllTabPages();
            _windowWidth = _acorWindowWidth;
            _operationStart = DateTime.Now;
            _outputFilename = Utilities.OutputFileName("antsGUI.csv");
            _lengthOfPrediction = _acorLengthOfPrediction;
            _startDayIndex = _acorStartDay;
            _trainerFactory = new ACORTrainerFactory(_acorQ, _acorEpsilon, _acorIterations);

            _backgroundWorker = new BackgroundWorker();
            _backgroundWorker.WorkerReportsProgress = true;
            _backgroundWorker.WorkerSupportsCancellation = true;
            _backgroundWorker.DoWork += BackgroundWorkerDoWork;
            _backgroundWorker.RunWorkerCompleted += _backgroundWorker_RunWorkerCompleted;

            var progressForm = new ProgressForm(_backgroundWorker);
            progressForm.Show();
        }