private void gestiónDeCursosToolStripMenuItem_Click(object sender, EventArgs e) { if (frmcourse == null) { frmcourse = new frmCoursesManager(); frmcourse.FormClosing += fManage_Closingfrm; frmcourse.MdiParent = this; cambiarEstado(State.Modify); } frmcourse.enable_Report(false); frmcourse.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); }