Example #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            frmshowdocente frm = new frmshowdocente();

            frm.role = "Ayudante";
            frm.ShowDialog();

            codAyudante = frm.codigojtp;
            txtjtp.Text = frm.ayudante;
        }
Example #2
0
        private void button5_Click(object sender, EventArgs e)
        {
            frmshowdocente frm = new frmshowdocente();

            frm.role = "Docente";
            frm.ShowDialog();

            codtitular      = frm.codigo;
            txttitular.Text = frm.docente;
        }