private void btnAdd_Click(object sender, EventArgs e)
        {
            AddForm form = new AddForm();

            if (form.ShowDialog() == DialogResult.OK)
            {
                lbMovies.Items.Add(form.MyNewMovie);
            }
        }
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (lbMovies.SelectedItem == null)
     {
         MessageBox.Show("Select a movie!");
     }
     else
     {
         string  element = lbMovies.SelectedItem.ToString();
         AddForm frm     = new AddForm(element);
         if (frm.ShowDialog() == DialogResult.OK)
         {
             lbMovies.Items.Add(frm.MyNewMovie);
         }
     }
 }