Exemple #1
0
 private void InitializeComponent()
 {
     this.module1                  = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2                  = new DevExpress.ExpressApp.Mobile.SystemModule.SystemMobileModule();
     this.module3                  = new EastIPSystemModule();
     this.module4                  = new EastIPSystemMobileModule();
     this.securityModule1          = new DevExpress.ExpressApp.Security.SecurityModule();
     this.securityStrategyComplex1 = new DevExpress.ExpressApp.Security.SecurityStrategyComplex();
     this.authenticationStandard1  = new DevExpress.ExpressApp.Security.AuthenticationStandard();
     this.objectsModule            = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     this.validationModule         = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.auditTrailModule1        = new DevExpress.ExpressApp.AuditTrail.AuditTrailModule();
     this.dashboardsModule1        = new DevExpress.ExpressApp.Dashboards.DashboardsModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // securityStrategyComplex1
     //
     this.securityStrategyComplex1.Authentication = this.authenticationStandard1;
     this.securityStrategyComplex1.RoleType       = typeof(DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyRole);
     this.securityStrategyComplex1.UserType       = typeof(DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyUser);
     //
     // authenticationStandard1
     //
     this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters);
     //
     // validationModule
     //
     this.validationModule.AllowValidationDetailsAccess     = true;
     this.validationModule.IgnoreWarningAndInformationRules = false;
     //
     // auditTrailModule1
     //
     this.auditTrailModule1.AuditDataItemPersistentType = typeof(DevExpress.Persistent.BaseImpl.AuditDataItemPersistent);
     //
     // dashboardsModule1
     //
     this.dashboardsModule1.DashboardDataType = typeof(DevExpress.Persistent.BaseImpl.DashboardData);
     //
     // EastIPInternalInvoiceSystemMobileApplication
     //
     this.ApplicationName        = "EastIPInternalInvoiceSystem";
     this.CheckCompatibilityType = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.securityModule1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.objectsModule);
     this.Modules.Add(this.validationModule);
     this.Modules.Add(this.auditTrailModule1);
     this.Modules.Add(this.dashboardsModule1);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.module4);
     this.Security = this.securityStrategyComplex1;
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 private void InitializeComponent()
 {
     _module1                        = new SystemModule();
     _module2                        = new SystemAspNetModule();
     _module3                        = new Module.Module();
     _module4                        = new WebModule();
     _securityModule1                = new SecurityModule();
     _securityStrategyComplex1       = new SecurityStrategyComplex();
     _authenticationStandard1        = new AuthenticationStandard();
     _auditTrailModule               = new AuditTrailModule();
     _objectsModule                  = new BusinessClassLibraryCustomizationModule();
     _chartModule                    = new ChartModule();
     _chartAspNetModule              = new ChartAspNetModule();
     _cloneObjectModule              = new CloneObjectModule();
     _conditionalAppearanceModule    = new ConditionalAppearanceModule();
     _fileAttachmentsAspNetModule    = new FileAttachmentsAspNetModule();
     _htmlPropertyEditorAspNetModule = new HtmlPropertyEditorAspNetModule();
     _pivotChartModuleBase           = new PivotChartModuleBase();
     _pivotChartAspNetModule         = new PivotChartAspNetModule();
     _pivotGridModule                = new PivotGridModule();
     _pivotGridAspNetModule          = new PivotGridAspNetModule();
     _reportsModuleV2                = new ReportsModuleV2();
     _reportsAspNetModuleV2          = new ReportsAspNetModuleV2();
     _validationModule               = new ValidationModule();
     _validationAspNetModule         = new ValidationAspNetModule();
     _viewVariantsModule             = new ViewVariantsModule();
     ((ISupportInitialize)(this)).BeginInit();
     //
     // securityStrategyComplex1
     //
     _securityStrategyComplex1.Authentication = _authenticationStandard1;
     _securityStrategyComplex1.RoleType       = typeof(SecuritySystemRole);
     _securityStrategyComplex1.UserType       = typeof(SecuritySystemUser);
     //
     // securityModule1
     //
     _securityModule1.UserType = typeof(SecuritySystemUser);
     //
     // authenticationStandard1
     //
     _authenticationStandard1.LogonParametersType = typeof(AuthenticationStandardLogonParameters);
     //
     // auditTrailModule
     //
     _auditTrailModule.AuditDataItemPersistentType = typeof(AuditDataItemPersistent);
     //
     // pivotChartModuleBase
     //
     _pivotChartModuleBase.ShowAdditionalNavigation = true;
     //
     // reportsModuleV2
     //
     _reportsModuleV2.EnableInplaceReports     = true;
     _reportsModuleV2.ReportDataType           = typeof(ReportDataV2);
     _reportsModuleV2.ShowAdditionalNavigation = true;
     //
     // reportsAspNetModuleV2
     //
     _reportsAspNetModuleV2.ShowFormatSpecificExportActions = true;
     _reportsAspNetModuleV2.DefaultPreviewFormat            = ReportOutputType.Pdf;
     _reportsAspNetModuleV2.ReportViewerType = ReportViewerTypes.HTML5;
     _reportsModuleV2.ReportStoreMode        = ReportStoreModes.XML;
     //
     // viewVariantsModule
     //
     _viewVariantsModule.ShowAdditionalNavigation = true;
     //
     // FMAspNetApplication
     //
     ApplicationName = "CORE.PolizApp";
     LinkNewObjectToParentImmediately = false;
     CheckCompatibilityType           = CheckCompatibilityType.DatabaseSchema;
     Modules.Add(_module1);
     Modules.Add(_module2);
     Modules.Add(_module3);
     Modules.Add(_module4);
     Modules.Add(_securityModule1);
     Security = _securityStrategyComplex1;
     Modules.Add(_auditTrailModule);
     Modules.Add(_objectsModule);
     Modules.Add(_chartModule);
     Modules.Add(_chartAspNetModule);
     Modules.Add(_cloneObjectModule);
     Modules.Add(_conditionalAppearanceModule);
     Modules.Add(_fileAttachmentsAspNetModule);
     Modules.Add(_htmlPropertyEditorAspNetModule);
     Modules.Add(_pivotChartModuleBase);
     Modules.Add(_pivotChartAspNetModule);
     Modules.Add(_pivotGridModule);
     Modules.Add(_pivotGridAspNetModule);
     Modules.Add(_reportsModuleV2);
     Modules.Add(_reportsAspNetModuleV2);
     Modules.Add(_validationModule);
     Modules.Add(_validationAspNetModule);
     Modules.Add(_viewVariantsModule);
     DatabaseVersionMismatch += FMAspNetApplication_DatabaseVersionMismatch;
     ((ISupportInitialize)(this)).EndInit();
 }
Exemple #3
0
        private void InitializeComponent()
        {
            _module1                         = new SystemModule();
            _module2                         = new SystemAspNetModule();
            _module5                         = new ValidationModule();
            _module6                         = new BusinessClassLibraryCustomizationModule();
            _securityModule1                 = new SecurityModule();
            _sqlConnection1                  = new SqlConnection();
            _securityComplex1                = new SecurityStrategyComplex();
            _authenticationStandard1         = new XpandAuthenticationStandard();
            _featureCenterModule1            = new FeatureCenterModule();
            _cloneObjectModule1              = new CloneObjectModule();
            _viewVariantsModule1             = new ViewVariantsModule();
            _pivotChartModuleBase1           = new PivotChartModuleBase();
            _scriptRecorderModuleBase1       = new ScriptRecorderModuleBase();
            _featureCenterAspNetModule1      = new FeatureCenterAspNetModule();
            _pivotChartAspNetModule1         = new PivotChartAspNetModule();
            _fileAttachmentsAspNetModule1    = new FileAttachmentsAspNetModule();
            _conditionalAppearanceModule1    = new ConditionalAppearanceModule();
            _kpiModule1                      = new KpiModule();
            _workflowModule1                 = new WorkflowModule();
            _htmlPropertyEditorAspNetModule1 = new HtmlPropertyEditorAspNetModule();
            _treeListEditorsAspNetModule1    = new TreeListEditorsAspNetModule();
            _schedulerModuleBase1            = new SchedulerModuleBase();
            _schedulerAspNetModule1          = new SchedulerAspNetModule();
            _stateMachineModule1             = new StateMachineModule();
            _treeListEditorsModuleBase2      = new TreeListEditorsModuleBase();
            ((ISupportInitialize)this).BeginInit();
            //
            // module5
            //
            _module5.AllowValidationDetailsAccess     = true;
            _module5.IgnoreWarningAndInformationRules = false;
            //
            // securityModule1
            //
            _securityModule1.UserType = typeof(SecuritySystemUser);
            //
            // sqlConnection1
            //
            _sqlConnection1.ConnectionString =
                "Data Source=(local);Initial Catalog=XpandFeatureCenter;Integrated Security=SSPI;P" +
                "ooling=false";
            _sqlConnection1.FireInfoMessageEventOnUserErrors = false;
            //
            // securityComplex1
            //
            _securityComplex1.Authentication = _authenticationStandard1;
            _securityComplex1.RoleType       = typeof(XpandRole);
            _securityComplex1.UserType       = typeof(SecuritySystemUser);
            //
            // authenticationStandard1
            //
            _authenticationStandard1.LogonParametersType = typeof(XpandLogonParameters);
            //
            // viewVariantsModule1
            //
            _viewVariantsModule1.FrameVariantsEngine = null;
            _viewVariantsModule1.VariantsProvider    = null;
            //
            // pivotChartModuleBase1
            //
            _pivotChartModuleBase1.ShowAdditionalNavigation = false;
            //
            // workflowModule1
            //
            _workflowModule1.RunningWorkflowInstanceInfoType   = typeof(XpoRunningWorkflowInstanceInfo);
            _workflowModule1.StartWorkflowRequestType          = typeof(XpoStartWorkflowRequest);
            _workflowModule1.UserActivityVersionType           = typeof(XpoUserActivityVersion);
            _workflowModule1.WorkflowControlCommandRequestType = typeof(XpoWorkflowInstanceControlCommandRequest);
            _workflowModule1.WorkflowDefinitionType            = typeof(XpoWorkflowDefinition);
            _workflowModule1.WorkflowInstanceKeyType           = typeof(XpoInstanceKey);
            _workflowModule1.WorkflowInstanceType = typeof(XpoWorkflowInstance);
            //
            // reportsModule1
            //

            //
            // stateMachineModule1
            //
            _stateMachineModule1.StateMachineStorageType = typeof(XpoStateMachine);
            //
            // FeatureCenterAspNetApplication
            //
            ApplicationName = "FeatureCenter";
            Connection      = _sqlConnection1;
            Modules.Add(_module1);
            Modules.Add(_module2);
            Modules.Add(_module5);
            Modules.Add(_module6);
            Modules.Add(_securityModule1);
            Modules.Add(_cloneObjectModule1);
            Modules.Add(_viewVariantsModule1);
            Modules.Add(_conditionalAppearanceModule1);
            Modules.Add(_pivotChartModuleBase1);
            Modules.Add(_scriptRecorderModuleBase1);
            Modules.Add(_kpiModule1);
            Modules.Add(_workflowModule1);
            Modules.Add(_stateMachineModule1);
            Modules.Add(_featureCenterModule1);
            Modules.Add(_pivotChartAspNetModule1);
            Modules.Add(_fileAttachmentsAspNetModule1);
            Modules.Add(_htmlPropertyEditorAspNetModule1);

            Modules.Add(_treeListEditorsModuleBase2);
            Modules.Add(_treeListEditorsAspNetModule1);
            Modules.Add(_schedulerModuleBase1);
            Modules.Add(_schedulerAspNetModule1);
            Modules.Add(_featureCenterAspNetModule1);
            Security = _securityComplex1;
            DatabaseVersionMismatch += AspNetApplicationDatabaseVersionMismatch;
            ((ISupportInitialize)this).EndInit();
        }