private void ordenDeMatriculaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAcademico_OrdenDeMatricula frmAcademico_Familias = frmAcademico_OrdenDeMatricula.GetInstancia();

            frmAcademico_Familias.MdiParent = this;
            frmAcademico_Familias.Show();
        }
 public static frmAcademico_OrdenDeMatricula GetInstancia()
 {
     if (_Instancia == null)
     {
         _Instancia = new frmAcademico_OrdenDeMatricula();
     }
     return(_Instancia);
 }
예제 #3
0
 private void DGResultados_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     try
     {
         frmAcademico_OrdenDeMatricula form = frmAcademico_OrdenDeMatricula.GetInstancia();
         string par1, par2, par3;
         par1 = Convert.ToString(this.DGResultados.CurrentRow.Cells["Idvalores"].Value);
         par2 = Convert.ToString(this.DGResultados.CurrentRow.Cells["Valor"].Value);
         par3 = Convert.ToString(this.DGResultados.CurrentRow.Cells["Año"].Value);
         form.setValorAcademico(par1, par2, par3);
         this.Hide();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + ex.StackTrace);
     }
 }
 private void frmTesoreria_OrdenDeMatricula_FormClosing(object sender, FormClosingEventArgs e)
 {
     _Instancia = null;
 }