private void dgvCinemas_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (dgvCinemas.SelectedRows.Count > 0)
     {
         int id     = Convert.ToInt32(dgvCinemas.SelectedRows[0].Cells["No"].Value.ToString());
         var cinema = new CinemaView();
         cinema.GetCinema(id);
         cinema.Show();
     }
 }
Example #2
0
        private void tsbNewCinema_Click(object sender, EventArgs e)
        {
            var cinema = new CinemaView();

            cinema.Show();
        }
        private void tsbSave_Click(object sender, EventArgs e)
        {
            var cinemaview = new CinemaView();

            cinemaview.Show();
        }