private void DataListado_DoubleClick(object sender, EventArgs e)
        {
            Inscripcion_alumno ver = Inscripcion_alumno.GetInstancia();
            string             par1; string par2; string par3; string par4; string par5; string par6;
            string             par7;
            string             par8;
            string             par9;
            string             par10;
            string             par11;


            par1  = Convert.ToString(this.dataListado.CurrentRow.Cells["Código de Inscripción"].Value);
            par2  = Convert.ToString(this.dataListado.CurrentRow.Cells["Ciclo Escolar"].Value);
            par3  = Convert.ToString(this.dataListado.CurrentRow.Cells["Carrera"].Value);
            par4  = Convert.ToString(this.dataListado.CurrentRow.Cells["Tipo de Inscripción"].Value);
            par5  = Convert.ToString(this.dataListado.CurrentRow.Cells["Cód Alumno"].Value);
            par6  = Convert.ToString(this.dataListado.CurrentRow.Cells["CUI"].Value);
            par7  = Convert.ToString(this.dataListado.CurrentRow.Cells["Nombres y Apellidos"].Value);
            par8  = Convert.ToString(this.dataListado.CurrentRow.Cells["Grado"].Value);
            par9  = Convert.ToString(this.dataListado.CurrentRow.Cells["Sección"].Value);
            par10 = Convert.ToString(this.dataListado.CurrentRow.Cells["Fecha de Inscripción"].Value);
            par11 = Convert.ToString(this.dataListado.CurrentRow.Cells["Estado"].Value);
            ver.SetInscripcion(par1, par2, par3, par4, par5, par6, par7, par8, par9, par10, par11);
            this.Hide();
        }
 public static Inscripcion_alumno GetInstancia()
 {
     if (_instancia == null)
     {
         _instancia = new Inscripcion_alumno();
     }
     return(_instancia);
 }
Esempio n. 3
0
        private void DataListado_DoubleClick(object sender, EventArgs e)
        {
            Inscripcion_alumno form = Inscripcion_alumno.GetInstancia();
            string             par1, par2, par3;

            par1 = Convert.ToString(this.dataListadoAl.CurrentRow.Cells["Código"].Value);
            par2 = Convert.ToString(this.dataListadoAl.CurrentRow.Cells["CUI"].Value);
            par3 = Convert.ToString(this.dataListadoAl.CurrentRow.Cells["Nombres y Apellidos"].Value);
            form.SetAlumno(par1, par2, par3);
            this.Hide();
        }
 private void Inscripcion_alumno_FormClosing(object sender, FormClosingEventArgs e)
 {
     _instancia = null;
 }
Esempio n. 5
0
        private void bunifuImageButton1_Click(object sender, EventArgs e)
        {
            Inscripcion_alumno VenAlumnos = Inscripcion_alumno.GetInstancia();

            VenAlumnos.ShowDialog();
        }