Beispiel #1
0
        public FormNuevoAlumno(string title)
        {
            InitializeComponent();
            shared = this;

            // Change text of toolStripLabel1 (title)
            toolStripLabel1.Text = title;
        }
Beispiel #2
0
 // Click boton ´Modificar alumno´
 private void buttonModificarAlumno_Click(object sender, EventArgs e)
 {
     if (listViewAlumnos.SelectedItems.Count == 0)
     {
         MessageBox.Show("Selecciona un contacto");
     }
     else
     {
         FormNuevoAlumno formNuevoAlumno = new FormNuevoAlumno("Modificar Alumno");
         formNuevoAlumno.Show();
         FormNuevoAlumno.shared.cargarDatosAlumno(listViewAlumnos.SelectedItems[0]);
     }
 }
Beispiel #3
0
        // Click boton ´Nuevo alumno´
        private void buttonNuevoAlumno_Click(object sender, EventArgs e)
        {
            FormNuevoAlumno formNuevoAlumno = new FormNuevoAlumno("Nuevo Alumno");

            formNuevoAlumno.Show();
        }
Beispiel #4
0
 public FormNuevoAlumno()
 {
     InitializeComponent();
     shared = this;
 }