// Film módosítás ablak private void ItemClicked(object sender, DataGridViewCellMouseEventArgs e) { if (!(filmGridView.CurrentRow.DataBoundItem is Film film)) { return; } using var addFilmForm = new AddMovie(filmController, film); addFilmForm.ShowDialog(); }
// Film hozzáadás ablak private void AddFilmMenuItem_Click(object sender, EventArgs e) { using var addFilmForm = new AddMovie(filmController); addFilmForm.ShowDialog(); }