Beispiel #1
0
        public Form2(ref ProfesorTutor seleccionado)
        {
            InitializeComponent();
            this.Text = "Modificar Profesor";
            this.button1.Text = "Guardar";

            textBoxCodigo.Text = seleccionado.Profesor.Codigo.ToString();
            textBoxNombre.Text = seleccionado.Profesor.Nombre;
            textBoxDNI.Text = seleccionado.Profesor.DNI.ToString();
            textBoxCorreo.Text = seleccionado.Profesor.Correo;
            textBoxTelefono.Text = seleccionado.Profesor.Telefono.ToString();
            comboBoxIdioma.SelectedIndex = seleccionado.Profesor.Idioma;
            comboBoxDedicacion.SelectedText = seleccionado.Profesor.Regimen;
               // dateTimePickerInicio.Value = new DateTime(seleccionado.Profesor.Inicio);
        }
Beispiel #2
0
 public void agregarProfesorTutor(Profesor profesor)
 {
     ProfesorTutor prof=new ProfesorTutor(profesor);
     Tutores.Add(prof);
 }
Beispiel #3
0
        public static void agregarReunion(int codigoProfesor, Reunion newReunion)
        {
            ProfesorTutor profesor = buscarTutor(codigoProfesor);

            profesor.addReunion(newReunion);
        }
Beispiel #4
0
        public void agregarProfesorTutor(Profesor profesor)
        {
            ProfesorTutor prof = new ProfesorTutor(profesor);

            Tutores.Add(prof);
        }