/// <summary> /// Evento capaz de abrir la ventana FrmControlDocumentacion /// usando el identificador del docente seleccionado. /// </summary> private void btnRegistrar_Click(object sender, EventArgs e) { int index = cbxAsesores.SelectedIndex; var frmControlDocumentacion = new FrmControlDocumentacion(listaDocentes[index].ID); frmControlDocumentacion.ShowDialog(); panelSeleccion.Visible = false; }
private void btnCambiar_Click(object sender, EventArgs e) { DialogResult dr = MessageBox.Show("¿Seguro que desea cambiar esta información?", "Info", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (dr == DialogResult.No) { return; } DictamenDAO.BorrarDictamen(idDictamen); var frmControlDocumentacion = new FrmControlDocumentacion(idDocente); this.Visible = false; frmControlDocumentacion.ShowDialog(); iniciar(); this.Visible = true; }
/// <summary> /// Evento capaz de abrir la ventana FrmControlDocumentacion /// usando el identificador del docente ingresado. /// </summary> private void btnControlDocumentacion_Click(object sender, EventArgs e) { var frmControlDocumentacion = new FrmControlDocumentacion(IdDocente); frmControlDocumentacion.ShowDialog(); }