예제 #1
0
 private void addToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var addMovieForm = new AddMovieForm(movieManager);
     var dialogResult = addMovieForm.ShowDialog();
     if (dialogResult == DialogResult.OK)
     {
         ReloadMovies();
     }
 }
예제 #2
0
        private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var addMovieForm = new AddMovieForm(movieManager, personManager);
            var dialogResult = addMovieForm.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
                ReloadMovies();
            }
        }