public AuxiliaryScheduleDetailsUpdate(CommonExchange.SysAccess userInfo, CommonExchange.AuxiliaryServiceSchedule serviceInfoSchedule,
                                              CommonExchange.AuxiliaryServiceDetails serviceInfoDetails, AuxiliaryServiceLogic auxiliaryManager)
            : base(userInfo, serviceInfoSchedule, auxiliaryManager)
        {
            this.InitializeComponent();

            _serviceInfoDetails     = serviceInfoDetails;
            _serviceInfoDetailsTemp = (CommonExchange.AuxiliaryServiceDetails)serviceInfoDetails.Clone();

            this.FormClosing     += new FormClosingEventHandler(ClassClosing);
            this.btnClose.Click  += new EventHandler(btnCloseClick);
            this.btnEdit.Click   += new EventHandler(btnEditClick);
            this.btnDelete.Click += new EventHandler(btnDeleteClick);
        }
        //############################################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;
            //}
        }//------------------------