예제 #1
0
 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);
     }
 }
예제 #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            FilmDetay filmDetay = new FilmDetay(movie);

            filmDetay.Show();
        }