예제 #1
0
        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);
        }