Esempio n. 1
0
 private void btn_veralumnos_Click(object sender, EventArgs e)
 {
     try
     {
         BuscarNotasxMateria bnxm = new BuscarNotasxMateria();
         //bnxm.cmb_ciclo.Text = dgv.CurrentRow.Cells["Ciclo"].Value.ToString(); El stored no da ciclo.
         bnxm.cmb_curso.Text      = Convert.ToString(dgv.CurrentRow.Cells["Cursos"].Value);
         bnxm.cmb_materia.Text    = dgv.CurrentRow.Cells["Materia"].Value.ToString();
         bnxm.cmb_ciclo.Enabled   = false;
         bnxm.cmb_curso.Enabled   = false;
         bnxm.cmb_materia.Enabled = false;
         bnxm.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Seleccione una materia.");
     }
 }
Esempio n. 2
0
        private void buscarNotasxmateriaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            BuscarNotasxMateria notas = new BuscarNotasxMateria();

            notas.Show();
        }