}//--------------------------

        //event is raised when the control is clicked
        private void _frmMajorExamScheduleSearchOnDoubleClickEnter(string id)
        {
            try
            {
                using (MajorExamScheduleUpdate frmUpdate = new MajorExamScheduleUpdate(_userInfo,
                                                                                       _majorExamScheduleManager.GetDetailsMajorExamSchedule(_frmMajorExamScheduleSearch.PrimaryId), _majorExamScheduleManager))
                {
                    frmUpdate.ShowDialog(this);

                    if (frmUpdate.HasUpated || frmUpdate.HasDeleted)
                    {
                        this.ShowSearchResultDialog();
                    }
                }
            }
            catch (Exception ex)
            {
                RemoteClient.ProcStatic.ShowErrorDialog(ex.Message, "Error Loading");
            }
        }//---------------------