private void button3_Click(object sender, EventArgs e)
 {
     for (int i = 0; i < ClaseCompartida.arregloGrupos.Buscar(Convert.ToInt32(comboBox1.Text)).size(); i++)
     {
         ArregloUsuarios temp  = ClaseCompartida.arregloGrupos;
         int             temp2 = temp.Buscar(Convert.ToInt32(comboBox1.Text)).RecorrerUsuario()[i].getID();
         comboBox2.Items.Add(temp2);
     }
 }
 private void EUsuario_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());
     }
 }
예제 #3
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());
            }
        }
 public ArregloUsuarios(int codigo)
 {
     this.codigo = codigo;
     first       = last = null;
     siguiente   = null;
 }