private void OMDB_button_Click(object sender, EventArgs e)
        {
            OMDB_Form OMDB_Form = new OMDB_Form();

            this.Hide();

            OMDB_Form.Show();

            base.OnClosed(e);
            if (Application.OpenForms.Count == 1)
            {
                Application.Exit();
            }
        }
        private void FilmListBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            // Get the currently selected item in the ListBox.
            string selectedFilm = FilmListBox.SelectedItem.ToString();

            Console.WriteLine(selectedFilm);
            searchVal = selectedFilm;

            //newSearchVal = "https://api.themoviedb.org/3/search/movie?api_key=95933e5a60f119e9b19b8e2be7252893" + "&query=" + selectedFilm + "&page=1&include_adult=false";


            OMDB_Form OMDB_Form = new OMDB_Form();

            OMDB_Form.Show();

            OMDB_Form.searchBar.Tag  = selectedFilm;
            OMDB_Form.searchBar.Text = (string)textBox1.Tag;
            //OMDB_Form.searchBar.TextChanged += new EventHandler(OnTextChanged);

            if (string.IsNullOrEmpty(OMDB_Form.searchBar.Text))
            {
                OMDB_Form.searchBar.Text = (string)OMDB_Form.searchBar.Tag;
            }
        }