private void dataGridView2_DoubleClick(object sender, EventArgs e) { var form = new FormFilm(filmBindingSource.Position); form.ShowDialog(); filmTableAdapter.Fill(dB_dotNetDataSet.Film); }
private void addToolStripMenuItem_Click(object sender, EventArgs e) { var form = new FormFilm(-1); form.ShowDialog(); filmTableAdapter.Fill(dB_dotNetDataSet.Film); }