private void disponibilidadSemanalToolStripMenuItem_Click(object sender, EventArgs e) { if (frmweekavailability == null) { frmweekavailability = new FrmWeekAvailability(); frmweekavailability.FormClosing += fManage_Closingfrm; frmweekavailability.MdiParent = this; cambiarEstado(State.Modify); } frmweekavailability.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); }