Exemple #1
0
 public Matricula(Alumno alumno, Nivel nivel, Apoderado apoderado, int id, int descuento, int total, int deuda, string des, string fecha)
 {
     this.alumno      = alumno;
     this.nivel       = nivel;
     this.idMatricula = id;
     this.descuento   = descuento;
     this.precioTotal = total;
     this.deuda       = deuda;
     this.fecha       = fecha;
     this.descripcion = des;
     this.apoderado   = apoderado;
 }
 public Matricula(Alumno alumno, Nivel nivel, Apoderado apoderado, int id, int descuento, int total, int deuda, string des, string fecha)
 {
     this.alumno = alumno;
     this.nivel = nivel;
     this.idMatricula = id;
     this.descuento = descuento;
     this.precioTotal = total;
     this.deuda=deuda;
     this.fecha = fecha;
     this.descripcion=des;
     this.apoderado=apoderado;
 }
 public Alumno(int id, int dni, string nombre, string apellido, string direccion, string fechaN, string instEdu, string telefono, string instFu, Apoderado apoderado)
 {
     this.id = id;
     this.dni = dni;
     this.nombrePe = nombre;
     this.apellidoPe = apellido;
     this.direccionPe = direccion;
     this.fechaNacimiento = fechaN;
     this.InstEduc = instEdu;
     this.FutuIns = instFu;
     this.telefonoPer = telefono;
     this.Apoderado = apoderado;
 }
        public override void agregarPersona(string[] contacto)
        {
            id = getSiguienteId();
            dni = Convert.ToInt32(contacto[0]);
            apoderado = new Apoderado(id, dni, contacto[1], contacto[2],
                contacto[3], contacto[4], contacto[5]);
            for (int i = 2; i < 10; i++)
            {
                if (apoderados[i] == null)
                {
                    apoderados[i] = apoderado;
                    listaApoderados.Insert(i, apoderados[i]);
                    MessageBox.Show("Agrego a: " + apoderados[i].Apellido);
                    i = 10;
                }

            }
            PanelTipoPersona.getInstance(1).actulizarChek();
        }
        private ObserverControladorApoderado()
        {
            Apoderado apoderado = new Apoderado(1, 70408005, "Santiago", "bravo Abanto", "cajmaarca", "1993", "99999");
            Apoderado apoderado1 = new Apoderado(2, 70408005, "Teonila", "Sanchez Garro", "cajmaarca", "1993", "99999");
            apoderados[0] = apoderado;
            apoderados[1] = apoderado1;

            listaApoderados.Insert(0, apoderados[0]);
            listaApoderados.Insert(1, apoderados[1]);
        }
Exemple #6
0
 public Alumno(int id, int dni, string nombre, string apellido, string direccion, string fechaN, string instEdu, string telefono, string instFu, Apoderado apoderado)
 {
     this.id              = id;
     this.dni             = dni;
     this.nombrePe        = nombre;
     this.apellidoPe      = apellido;
     this.direccionPe     = direccion;
     this.fechaNacimiento = fechaN;
     this.InstEduc        = instEdu;
     this.FutuIns         = instFu;
     this.telefonoPer     = telefono;
     this.Apoderado       = apoderado;
 }