public FilmFinderGUI(MovieHandler app)
        {
            InitializeComponent();
            training = Settings.Default.Training;
            this.Text = "FilmFinder";// - " +(training ? "TRAINING" : "EXPERIMENT");

            genreCheckBoxList = new List<CheckBox>();
            certificationCheckBoxList = new List<CheckBox>();
            this.movieHandler = app;
            this.movieHandler.MoviesJustFiltered += new EventHandler(movieHandler_MoviesJustFiltered);

            genreList = movieHandler.getUniqueGenres();
            createAllSeries();
            createGenreCheckBoxes();
            createCertificationCheckBoxes();
            drawChartForFirstTime();

            initializeActorSlider();
            initializeDirectorSlider();
            initializeActressSlider();

            initializeRunningTimeRangeSlider();
            initializeYearRangeSlider();
            initializeRatingRangeSlider();

            pleaseFindLabel.Hide();
            searchLabel.Hide();
            startSearchButton.Hide();
            confirmSearchButton.Hide();
            searchConfirmLabel.Hide();
            stopwatch = new Stopwatch();

            initializeFileWriting();
            //setTrial();
        }
        private void newDataButton_Click(object sender, EventArgs e)
        {
            movieHandler = new MovieHandler();
            movieHandler.MoviesJustFiltered += new EventHandler(movieHandler_MoviesJustFiltered);

            genreList = movieHandler.getUniqueGenres();
            createAllSeries();

            initializeActorSlider();
            initializeDirectorSlider();
            initializeActressSlider();

            initializeRunningTimeRangeSlider();
            initializeYearRangeSlider();
            initializeRatingRangeSlider();

            createGenreCheckBoxes();
            createCertificationCheckBoxes();

            //drawActiveSet();

            Debug.WriteLine(movieHandler.UniqueActors.Count + "\t\t" + movieHandler.UniqueActresses.Count + "\t\t" + movieHandler.UniqueDirectors.Count);
        }