private void gestiónDeCursosDictadosToolStripMenuItem_Click(object sender, EventArgs e) { if (frmcoursehistory == null) { frmcoursehistory = new frmCourseHistoryManager(); frmcoursehistory.FormClosing += fManage_Closingfrm; frmcoursehistory.MdiParent = this; cambiarEstado(State.Modify); } frmcoursehistory.Visible = true; }
public void fManage_Closingfrm(object sender, FormClosingEventArgs e) { frmcourse = null; frmcoursehistory = null; frmprofessor = null; frmstudentconsult = null; frmstudent = null; frminterns = null; frmweekavailability = null; frmpw = null; cambiarEstado(State.New); }