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());
     }
 }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     for (int i = 0; i < ClaseCompartida.arregloLeyes.Buscar(Convert.ToInt32(comboBox3.Text)).verCima().size(); i++)
     {
         Leyes <Ley> temp  = ClaseCompartida.arregloLeyes;
         int         temp2 = temp.Buscar(Convert.ToInt32(comboBox3.Text)).verCima().RecorrerRegla()[i].getIdregla();
         comboBox4.Items.Add(temp2);
     }
 }
Пример #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());
            }
        }
Пример #4
0
 public Leyes(int codigo)
 {
     this.codigo = codigo;
     first       = last = null;
     siguiente   = null;
 }