private void button2_Click(object sender, EventArgs e)
 {
     try
     {
         Movie     movie     = HelperMovie.GetMovieById(Convert.ToInt32(dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells[0].Value));
         FilmDetay filmDetay = new FilmDetay(movie);
         filmDetay.Show();
     }
     catch (Exception)
     {
         MessageBox.Show("Önce film seçmeniz gerekmektedir.", messageBoxHeader, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemple #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            FilmDetay filmDetay = new FilmDetay(movie);

            filmDetay.Show();
        }