Example #1
0
 private void horariosPeliculasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmingresarHorario form = new frmingresarHorario();
     form.Show();
 }
Example #2
0
 private void baceptarPelicula_Click(object sender, EventArgs e)
 {
     //modulo para seleccionar una pelicula
     frmingresarHorario horario = new frmingresarHorario();
     string noid = this.dgvinfoPeliculas.CurrentRow.Cells[0].Value.ToString();
     txtid.Text = noid;
     string nombrePelicula = this.dgvinfoPeliculas.CurrentRow.Cells[1].Value.ToString();
     cnombrePelicula.Text = nombrePelicula;
     string sucursal = this.dgvinfoPeliculas.CurrentRow.Cells[2].Value.ToString();
     csucursal.Text = sucursal;
     string numerosala = this.dgvinfoPeliculas.CurrentRow.Cells[3].Value.ToString();
     cnoSala.Text = numerosala;
     horario.txttipoSala.Text = this.dgvinfoPeliculas.CurrentRow.Cells[4].Value.ToString();
     String fecha = Convert.ToString(dgvinfoPeliculas.CurrentRow.Cells[5].Value);
     dtpfecha.Text = fecha;
     string estado = this.dgvinfoPeliculas.CurrentRow.Cells[6].Value.ToString();
     cestadopeli.Text = estado;
     String hora = this.dgvinfoPeliculas.CurrentRow.Cells[7].Value.ToString() + " - " + this.dgvinfoPeliculas.CurrentRow.Cells[8].Value.ToString();
     chorarioPelicula.Text = hora;
     beditar.Enabled = true;
     beliminar.Enabled = true;
     bcancelar.Enabled = true;
 }