private void CReglamento_Load(object sender, EventArgs e)
 {
     for (int i = 0; i < ClaseCompartida.arregloLeyes.getSize(); i++)
     {
         Leyes <Ley> temp  = ClaseCompartida.arregloLeyes;
         Ley         temp2 = temp.BuscarPosicion(i).verCima();
         comboBox1.Items.Add(temp2.getLey());
     }
 }
Beispiel #2
0
        private void IPrestamo_Load(object sender, EventArgs e)
        {
            for (int i = 0; i < ClaseCompartida.arregloGrupos.getSize(); i++)
            {
                ArregloUsuarios temp  = ClaseCompartida.arregloGrupos;
                GrupoUsuarios   temp2 = temp.BuscarPosicion(i);
                comboBox1.Items.Add(temp2.getIdGrupo());
            }

            for (int i = 0; i < ClaseCompartida.arregloLeyes.getSize(); i++)
            {
                Leyes <Ley> temp  = ClaseCompartida.arregloLeyes;
                Ley         temp2 = temp.BuscarPosicion(i).verCima();
                comboBox3.Items.Add(temp2.getLey());
            }
        }