//############################################CLASS SubjectSchedule EVENTS#######################################################
        //event is raised when the class is loaded
        protected virtual void ClassLoad(object sender, EventArgs e)
        {
            if (_auxiliaryManager.MustOpenSchoolYearSemester())
            {
                RemoteClient.ProcStatic.ShowErrorDialog("Please open another school year / semester before creating a new subject schedule.",
                                                        "Error Creating A Subject Schedule");

                _hasErrors = true;

                this.Close();
            }

            _serviceInfoSchedule = new CommonExchange.AuxiliaryServiceSchedule();

            this.dgvAuxiliaryDetails.DataSource = _auxiliaryManager.AuxiliaryDetailsTableFormat;
            this.dgvMarkDeleted.DataSource      = _auxiliaryManager.AuxiliaryDetailsTableFormat;

            RemoteClient.ProcStatic.SetDataGridViewColumns(this.dgvAuxiliaryDetails, false);
            RemoteClient.ProcStatic.SetDataGridViewColumns(this.dgvMarkDeleted, false);
        }//---------------------------
        //############################################CLASS SubjectScheduleDetails EVENTS#######################################################
        //event is raised when the class is loaded
        protected virtual void ClassLoad(object sender, EventArgs e)
        {
            if (_auxiliaryManager.MustOpenSchoolYearSemester())
            {
                RemoteClient.ProcStatic.ShowErrorDialog("Please open another school year / semester before creating a new subject schedule.",
                                                        "Error Creating A Subject Schedule");

                _hasErrors = true;

                this.Close();
            }

            _serviceInfoDetails = new CommonExchange.AuxiliaryServiceDetails();

            this.lblSysIdAuxiliary.Text = _serviceInfoSchedule.AuxiliaryServiceInfo.AuxServiceSysId;
            this.lblAuxiliaryServiceCodeDescription.Text = _serviceInfoSchedule.AuxiliaryServiceInfo.ServiceCode + " - " +
                                                           _serviceInfoSchedule.AuxiliaryServiceInfo.DescriptiveTitle;
            this.lblAuxiliaryDepartment.Text = _serviceInfoSchedule.AuxiliaryServiceInfo.DepartmentInfo.DepartmentName;
            this.lblUnitsLabHours.Text       = _auxiliaryManager.GetAuxiliaryUnitsHours(_serviceInfoSchedule.AuxiliaryServiceInfo.LectureUnits,
                                                                                        _serviceInfoSchedule.AuxiliaryServiceInfo.LabUnits, _serviceInfoSchedule.AuxiliaryServiceInfo.NoHours);

            _serviceInfoDetails.AuxiliaryServiceScheduleInfo.AuxiliaryServiceInfo.ServiceCode      = _serviceInfoSchedule.AuxiliaryServiceInfo.ServiceCode;
            _serviceInfoDetails.AuxiliaryServiceScheduleInfo.AuxiliaryServiceInfo.DescriptiveTitle =
                _serviceInfoSchedule.AuxiliaryServiceInfo.DescriptiveTitle;
            _serviceInfoDetails.NoHours = this.hrmHours.SelectedHourMinute;
            _serviceInfoDetails.AuxiliaryServiceScheduleInfo.AuxServiceScheduleSysId = _serviceInfoSchedule.AuxServiceScheduleSysId;

            //if (_serviceInfoSchedule.AuxiliaryServiceInfo.CourseGroupInfo.IsSemestral)
            //{
            //    this.optUnits.Enabled = this.optUnits.Checked = true;
            //    this.txtLecture.Enabled = true;
            //    this.txtLaboratory.Enabled = true;
            //}
            //else
            //{
            //    this.optHours.Enabled = this.optHours.Checked = true;
            //    this.hrmHours.Enabled = true;
            //}
        }//------------------------