private void addDVDToolStripMenuItem_Click(object sender, EventArgs e) { var dvdEditForm = new EditDvdWin(); var dvd = new Dvd(); dvd.SetId(); dvdEditForm.Execute(dvd); Form1_Load(null, null); }
private void titleListBox_DoubleClick(object sender, EventArgs e) { var dvd = titleListBox.SelectedItem as Dvd; var dvdEditForm = new EditDvdWin(); dvdEditForm.Execute(dvd); }