//
        //Of Loading of Form, loads Exam IDs and Employee IDs
        //
        private void AddApplicant_Load(object sender, EventArgs e)
        {
            // to allign the Legend(Group Box) to
            // the center of form
            int centerForm;
            int centerGroup;
            int groupStartPosition;

            centerForm = this.Width / 2;
            centerGroup = addApplicantLegend.Width / 2;
            groupStartPosition = centerForm - centerGroup;
            addApplicantLegend.Left = groupStartPosition;

            //Exam IDs
            Exam_DetailsBS em = new Exam_DetailsBS();
            int i = em.getCount();
            if(i>0)
            {
                string[] abc = new string[i];
                abc = em.loadExamDetail(i);
                for (int m = 0; m < i; m++)
                {
                    examIDCombo.Items.Add(abc[m]);
                }
                examIDCombo.SelectedIndex = 0;
            }
            else
                MessageBox.Show("No Exams present in the databse.", "Error");

            //Employee IDs
            EmployeeBS emp = new EmployeeBS();
            int j = emp.getCount();
            if(j>0)
            {
                string[] abcd = new string[j];
                abcd = emp.loadEmployee(j);
                for (int k = 0; k < j; k++)
                {
                    employeeIDCombo.Items.Add(abcd[k]);
                }
                employeeIDCombo.SelectedIndex = 0;
            }
            else
                MessageBox.Show("No Employees present in the databse.", "Error");
        }
        //
        //On Form Load
        //
        private void UpdateExamDetail_Load(object sender, EventArgs e)
        {
            // to allign the Legend(Group Box) to
            // the center of form
            int centerForm;
            int centerGroup;
            int groupStartPosition;

            centerForm = this.Width / 2;
            centerGroup = updateExamLegend.Width / 2;
            groupStartPosition = centerForm - centerGroup;
            updateExamLegend.Left = groupStartPosition;

            // Filling the ExamID ComboBox
            Exam_DetailsBS ed = new Exam_DetailsBS();
            int i = ed.getCount();
            if (i > 0)
            {
                string[] abc = new string[i];
                abc = ed.loadExamDetail(i);
                for (int j = 0; j < i; j++)
                {
                    examIDCombo.Items.Add(abc[j]);
                }
            }
            //Disabling the other controls
            examTypeCombo.Enabled = false;
            datePicker.Enabled = false;
            update.Enabled = false;
        }