public Form1() { InitializeComponent(); movieTable = new Dictionary <int, Movie>(); movieDictionary = new MovieDictionary(movieTable); addMovie = new AddMovie(tbAddYear, tbAddTitle, tbAddDirector, movieTable); displayMovie = new DisplayMovies(richTextBox1, movieTable); deleteMovie = new DeleteMovie(tbSearchYear, movieTable); searchMovies = new SearchMovies(tbSearchYear, movieTable); }
public Form1() { InitializeComponent(); movieTable = new Dictionary<int, Movie>(); movieDictionary = new MovieDictionary(movieTable); addMovie = new AddMovie(tbAddYear, tbAddTitle, tbAddDirector, movieTable); displayMovie = new DisplayMovies(richTextBox1, movieTable); deleteMovie = new DeleteMovie(tbSearchYear, movieTable); searchMovies = new SearchMovies(tbSearchYear, movieTable); }