Exemple #1
0
        private void CloseAllChildForms()
        {
            if (frmStuDetails != null)
            {
                frmStuDetails.Hide();
            }

            if (frmEnrolments != null)
            {
                frmEnrolments.Hide();
            }

            if (frmMeeting != null)
            {
                frmMeeting.Hide();
            }

            if (frmTeamDetails != null)
            {
                frmTeamDetails.Hide();
            }

            if (frmProject != null)
            {
                frmProject.Hide();
            }

            if (frmStuAssessment != null)
            {
                frmStuAssessment.Hide();
            }
        }
        private void CloseAllChildForms()
        {
            if (frmEmpDetails != null)
            {
                frmEmpDetails.Hide();
            }

            if (frmStuDetails != null)
            {
                frmStuDetails.Hide();
            }

            if (frmUnits != null)
            {
                frmUnits.Hide();
            }

            if (frmEnrolments != null)
            {
                frmEnrolments.Hide();
            }

            if (frmUnitOfferings != null)
            {
                frmUnitOfferings.Hide();
            }

            if (frmReports != null)
            {
                frmReports.Hide();
            }

            if (frmAssessment != null)
            {
                frmAssessment.Hide();
            }

            if (frmMeeting != null)
            {
                frmMeeting.Hide();
            }

            if (frmTeamDetails != null)
            {
                frmTeamDetails.Hide();
            }

            if (frmProject != null)
            {
                frmProject.Hide();
            }

            if (frmReports != null)
            {
                frmReports.Hide();
            }
        }