Exemplo n.º 1
0
 public static DetalleGrupo getInstance(Grupo g)
 {
     if (instance == null)
     {
         instance = new DetalleGrupo(g);
     }
     return(instance);
 }
Exemplo n.º 2
0
 private void consultarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         String id    = dataGridView1.CurrentRow.Cells[0].Value.ToString();
         Grupo  grupo = control.consultarGrupo(id);
         //MessageBox.Show("Reporte referente al grupo "+ grupo.codigo);
         DetalleGrupo fa = new DetalleGrupo(grupo);
         fa.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }