Exemplo n.º 1
0
        protected virtual void ClassLoad(object sender, EventArgs e)
        {
            if (!(RemoteServerLib.ProcStatic.IsSystemAccessAdmin(_userInfo) ||
                  RemoteServerLib.ProcStatic.IsSystemAccessVpOfAcademicAffairs(_userInfo) ||
                  RemoteServerLib.ProcStatic.IsSystemAccessSecretaryOftheVpOfAcademicAffairs(_userInfo)))
            {
                throw new Exception("You are not authorized to access this module.");
            }

            _serviceInfo = new CommonExchange.AuxiliaryServiceInformation();

            _auxiliaryManager.InitializeServiceGroupCombo(this.cboCourseGroup);
            _auxiliaryManager.InitializeDepartmentCombo(this.cboDepartment);
        }