private void dgMovies_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex < dgMovies.RowCount && e.RowIndex > -1)
     {
         MovieIMDBDetails fmMovieImdb = new MovieIMDBDetails((string)dgMovies.Rows[e.RowIndex].Cells["ImdbID"].Value);
         fmMovieImdb.Show();
     }
 }
 private void openMovieToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dgMovies.SelectedRows.Count == 1)
     {
         MovieIMDBDetails fmMovieImdb = new MovieIMDBDetails((string)dgMovies.SelectedRows[0].Cells["ImdbID"].Value);
         fmMovieImdb.Show();
     }
     else
         MessageBox.Show("Please select one Movie from the available Movies !", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
 }