private void btnCurriculum_Click(object sender, EventArgs e)
        {
            if (!Validator.validateID(txtID.Text))
            {
                MessageBox.Show("El ID debe ser numérico y no estar vacio", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return;
            }
            Curriculum curriculum = new Curriculum(txtID.Text);

            curriculum.ShowDialog();
        }
Beispiel #2
0
        private void btnCurriculum_Click(object sender, EventArgs e)
        {
            Curriculum curriculum = new Curriculum(profesor.getID().ToString());

            curriculum.ShowDialog();
        }