示例#1
0
        private void dgvSearch_CellDoubleClick( object sender, DataGridViewCellEventArgs e )
        {
            frm_Registers regAlum = new frm_Registers( this._data );

            regAlum.CodigoAlumno = Convert.ToInt32( this.dgvListado.CurrentRow.Cells[0].Value );
            regAlum.keyAlumno = this.dgvListado.CurrentRow.Cells[1].Value.ToString();

            regAlum.ToActualize = true;

            regAlum.Owner = this.ParentForm;
            regAlum.ShowDialog( this.ParentForm );

            this.Close();
        }
示例#2
0
 private void datosGeneralesToolStripMenuItem_Click( object sender, EventArgs e )
 {
     Layouts.regAlumno.frm_Registers reg = new Layouts.regAlumno.frm_Registers( this._data );
     reg.Owner = this;
     reg.ShowDialog( this );
 }