예제 #1
0
        private void tsbNuevo_Click(object sender, EventArgs e)
        {
            DictadosDesktop dictadosDesktop = new DictadosDesktop(ApplicationForm.ModoForm.Alta);

            dictadosDesktop.ShowDialog();
            Listar();
        }
예제 #2
0
        private void tsbEditar_Click(object sender, EventArgs e)
        {
            int             ID = ((Business.Entities.DocenteCurso) this.dgvDictados.SelectedRows[0].DataBoundItem).ID;
            DictadosDesktop dictadosDesktop = new DictadosDesktop(ID, ApplicationForm.ModoForm.Modificacion);

            dictadosDesktop.ShowDialog();
            Listar();
        }