private void InitializeComponent()
 {
     this.module1                           = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2                           = new DevExpress.ExpressApp.Mobile.SystemModule.SystemMobileModule();
     this.module3                           = new CollectionPortal.Module.CollectionPortalModule();
     this.module4                           = new CollectionPortal.Module.Mobile.CollectionPortalMobileModule();
     this.securityModule1                   = new DevExpress.ExpressApp.Security.SecurityModule();
     this.securityStrategyComplex1          = new DevExpress.ExpressApp.Security.SecurityStrategyComplex();
     this.authenticationStandard1           = new DevExpress.ExpressApp.Security.AuthenticationStandard();
     this.auditTrailModule                  = new DevExpress.ExpressApp.AuditTrail.AuditTrailModule();
     this.objectsModule                     = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     this.chartModule                       = new DevExpress.ExpressApp.Chart.ChartModule();
     this.conditionalAppearanceModule       = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule();
     this.conditionalAppearanceMobileModule = new DevExpress.ExpressApp.ConditionalAppearance.Mobile.ConditionalAppearanceMobileModule();
     this.dashboardsModule                  = new DevExpress.ExpressApp.Dashboards.DashboardsModule();
     this.fileAttachmentsMobileModule       = new DevExpress.ExpressApp.FileAttachments.Mobile.FileAttachmentsMobileModule();
     this.kpiModule                         = new DevExpress.ExpressApp.Kpi.KpiModule();
     this.notificationsModule               = new DevExpress.ExpressApp.Notifications.NotificationsModule();
     this.reportsModuleV2                   = new DevExpress.ExpressApp.ReportsV2.ReportsModuleV2();
     this.reportsMobileModuleV2             = new DevExpress.ExpressApp.ReportsV2.Mobile.ReportsMobileModuleV2();
     this.schedulerModuleBase               = new DevExpress.ExpressApp.Scheduler.SchedulerModuleBase();
     this.treeListEditorsModuleBase         = new DevExpress.ExpressApp.TreeListEditors.TreeListEditorsModuleBase();
     this.validationModule                  = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.validationMobileModule            = new DevExpress.ExpressApp.Validation.Mobile.ValidationMobileModule();
     this.viewVariantsModule                = new DevExpress.ExpressApp.ViewVariantsModule.ViewVariantsModule();
     this.workflowModule                    = new DevExpress.ExpressApp.Workflow.WorkflowModule();
     ((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);
     //
     // securityModule1
     //
     this.securityModule1.UserType = typeof(DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyUser);
     //
     // authenticationStandard1
     //
     this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters);
     //
     // auditTrailModule
     //
     this.auditTrailModule.AuditDataItemPersistentType = typeof(DevExpress.Persistent.BaseImpl.AuditDataItemPersistent);
     //
     // dashboardsModule
     //
     this.dashboardsModule.DashboardDataType = typeof(DevExpress.Persistent.BaseImpl.DashboardData);
     //
     // reportsModuleV2
     //
     this.reportsModuleV2.EnableInplaceReports     = true;
     this.reportsModuleV2.ReportDataType           = typeof(DevExpress.Persistent.BaseImpl.ReportDataV2);
     this.reportsModuleV2.ShowAdditionalNavigation = false;
     this.reportsModuleV2.ReportStoreMode          = DevExpress.ExpressApp.ReportsV2.ReportStoreModes.XML;
     //
     // workflowModule
     //
     this.workflowModule.RunningWorkflowInstanceInfoType   = typeof(DevExpress.ExpressApp.Workflow.Xpo.XpoRunningWorkflowInstanceInfo);
     this.workflowModule.StartWorkflowRequestType          = typeof(DevExpress.ExpressApp.Workflow.Xpo.XpoStartWorkflowRequest);
     this.workflowModule.UserActivityVersionType           = typeof(DevExpress.ExpressApp.Workflow.Versioning.XpoUserActivityVersion);
     this.workflowModule.WorkflowControlCommandRequestType = typeof(DevExpress.ExpressApp.Workflow.Xpo.XpoWorkflowInstanceControlCommandRequest);
     this.workflowModule.WorkflowDefinitionType            = typeof(DevExpress.ExpressApp.Workflow.Xpo.XpoWorkflowDefinition);
     this.workflowModule.WorkflowInstanceKeyType           = typeof(DevExpress.Workflow.Xpo.XpoInstanceKey);
     this.workflowModule.WorkflowInstanceType = typeof(DevExpress.Workflow.Xpo.XpoWorkflowInstance);
     //
     // CollectionPortalMobileApplication
     //
     this.ApplicationName = "CollectionPortal";
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.module4);
     this.Modules.Add(this.securityModule1);
     this.Security = this.securityStrategyComplex1;
     this.Modules.Add(this.auditTrailModule);
     this.Modules.Add(this.objectsModule);
     this.Modules.Add(this.chartModule);
     this.Modules.Add(this.conditionalAppearanceModule);
     this.Modules.Add(this.conditionalAppearanceMobileModule);
     this.Modules.Add(this.dashboardsModule);
     this.Modules.Add(this.fileAttachmentsMobileModule);
     this.Modules.Add(this.kpiModule);
     this.Modules.Add(this.notificationsModule);
     this.Modules.Add(this.reportsModuleV2);
     this.Modules.Add(this.reportsMobileModuleV2);
     this.Modules.Add(this.schedulerModuleBase);
     this.Modules.Add(this.treeListEditorsModuleBase);
     this.Modules.Add(this.validationModule);
     this.Modules.Add(this.validationMobileModule);
     this.Modules.Add(this.viewVariantsModule);
     this.Modules.Add(this.workflowModule);
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.CollectionPortalMobileApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 2
0
 private void InitializeComponent()
 {
     this.module1                     = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2                     = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3                     = new CollectionPortal.Module.CollectionPortalModule();
     this.module4                     = new CollectionPortal.Module.Web.CollectionPortalAspNetModule();
     this.securityModule1             = new DevExpress.ExpressApp.Security.SecurityModule();
     this.securityStrategyComplex1    = new DevExpress.ExpressApp.Security.SecurityStrategyComplex();
     this.authenticationStandard1     = new DevExpress.ExpressApp.Security.AuthenticationStandard();
     this.auditTrailModule            = new DevExpress.ExpressApp.AuditTrail.AuditTrailModule();
     this.objectsModule               = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     this.chartModule                 = new DevExpress.ExpressApp.Chart.ChartModule();
     this.chartAspNetModule           = new DevExpress.ExpressApp.Chart.Web.ChartAspNetModule();
     this.conditionalAppearanceModule = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule();
     this.dashboardsModule            = new DevExpress.ExpressApp.Dashboards.DashboardsModule();
     this.dashboardsAspNetModule      = new DevExpress.ExpressApp.Dashboards.Web.DashboardsAspNetModule();
     this.fileAttachmentsAspNetModule = new DevExpress.ExpressApp.FileAttachments.Web.FileAttachmentsAspNetModule();
     this.notificationsModule         = new DevExpress.ExpressApp.Notifications.NotificationsModule();
     this.notificationsAspNetModule   = new DevExpress.ExpressApp.Notifications.Web.NotificationsAspNetModule();
     this.reportsModuleV2             = new DevExpress.ExpressApp.ReportsV2.ReportsModuleV2();
     this.reportsAspNetModuleV2       = new DevExpress.ExpressApp.ReportsV2.Web.ReportsAspNetModuleV2();
     this.schedulerModuleBase         = new DevExpress.ExpressApp.Scheduler.SchedulerModuleBase();
     this.schedulerAspNetModule       = new DevExpress.ExpressApp.Scheduler.Web.SchedulerAspNetModule();
     this.treeListEditorsModuleBase   = new DevExpress.ExpressApp.TreeListEditors.TreeListEditorsModuleBase();
     this.treeListEditorsAspNetModule = new DevExpress.ExpressApp.TreeListEditors.Web.TreeListEditorsAspNetModule();
     this.validationModule            = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.validationAspNetModule      = new DevExpress.ExpressApp.Validation.Web.ValidationAspNetModule();
     this.viewVariantsModule          = new DevExpress.ExpressApp.ViewVariantsModule.ViewVariantsModule();
     this.workflowModule              = new DevExpress.ExpressApp.Workflow.WorkflowModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // securityStrategyComplex1
     //
     this.securityStrategyComplex1.AllowAnonymousAccess  = false;
     this.securityStrategyComplex1.Authentication        = this.authenticationStandard1;
     this.securityStrategyComplex1.PermissionsReloadMode = DevExpress.ExpressApp.Security.PermissionsReloadMode.NoCache;
     this.securityStrategyComplex1.RoleType = typeof(DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyRole);
     this.securityStrategyComplex1.SupportNavigationPermissionsForTypes = false;
     this.securityStrategyComplex1.UserType = typeof(DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyUser);
     //
     // authenticationStandard1
     //
     this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters);
     //
     // auditTrailModule
     //
     this.auditTrailModule.AuditDataItemPersistentType = typeof(DevExpress.Persistent.BaseImpl.AuditDataItemPersistent);
     //
     // dashboardsModule
     //
     this.dashboardsModule.DashboardDataType = typeof(DevExpress.Persistent.BaseImpl.DashboardData);
     //
     // notificationsModule
     //
     this.notificationsModule.CanAccessPostponedItems      = false;
     this.notificationsModule.NotificationsRefreshInterval = System.TimeSpan.Parse("00:05:00");
     this.notificationsModule.NotificationsStartDelay      = System.TimeSpan.Parse("00:00:05");
     this.notificationsModule.ShowDismissAllAction         = false;
     this.notificationsModule.ShowNotificationsWindow      = true;
     this.notificationsModule.ShowRefreshAction            = false;
     //
     // reportsModuleV2
     //
     this.reportsModuleV2.EnableInplaceReports = true;
     this.reportsModuleV2.ReportDataType       = typeof(DevExpress.Persistent.BaseImpl.ReportDataV2);
     this.reportsModuleV2.ReportStoreMode      = DevExpress.ExpressApp.ReportsV2.ReportStoreModes.XML;
     //
     // reportsAspNetModuleV2
     //
     this.reportsAspNetModuleV2.ReportViewerType = DevExpress.ExpressApp.ReportsV2.Web.ReportViewerTypes.HTML5;
     //
     // validationModule
     //
     this.validationModule.AllowValidationDetailsAccess     = true;
     this.validationModule.IgnoreWarningAndInformationRules = false;
     //
     // workflowModule
     //
     this.workflowModule.RunningWorkflowInstanceInfoType   = typeof(DevExpress.ExpressApp.Workflow.Xpo.XpoRunningWorkflowInstanceInfo);
     this.workflowModule.StartWorkflowRequestType          = typeof(DevExpress.ExpressApp.Workflow.Xpo.XpoStartWorkflowRequest);
     this.workflowModule.UserActivityVersionType           = typeof(DevExpress.ExpressApp.Workflow.Versioning.XpoUserActivityVersion);
     this.workflowModule.WorkflowControlCommandRequestType = typeof(DevExpress.ExpressApp.Workflow.Xpo.XpoWorkflowInstanceControlCommandRequest);
     this.workflowModule.WorkflowDefinitionType            = typeof(DevExpress.ExpressApp.Workflow.Xpo.XpoWorkflowDefinition);
     this.workflowModule.WorkflowInstanceKeyType           = typeof(DevExpress.Workflow.Xpo.XpoInstanceKey);
     this.workflowModule.WorkflowInstanceType = typeof(DevExpress.Workflow.Xpo.XpoWorkflowInstance);
     //
     // CollectionPortalAspNetApplication
     //
     this.ApplicationName        = "CollectionPortal";
     this.CheckCompatibilityType = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.auditTrailModule);
     this.Modules.Add(this.objectsModule);
     this.Modules.Add(this.chartModule);
     this.Modules.Add(this.conditionalAppearanceModule);
     this.Modules.Add(this.dashboardsModule);
     this.Modules.Add(this.notificationsModule);
     this.Modules.Add(this.reportsModuleV2);
     this.Modules.Add(this.schedulerModuleBase);
     this.Modules.Add(this.treeListEditorsModuleBase);
     this.Modules.Add(this.validationModule);
     this.Modules.Add(this.viewVariantsModule);
     this.Modules.Add(this.workflowModule);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.chartAspNetModule);
     this.Modules.Add(this.dashboardsAspNetModule);
     this.Modules.Add(this.fileAttachmentsAspNetModule);
     this.Modules.Add(this.notificationsAspNetModule);
     this.Modules.Add(this.reportsAspNetModuleV2);
     this.Modules.Add(this.schedulerAspNetModule);
     this.Modules.Add(this.treeListEditorsAspNetModule);
     this.Modules.Add(this.validationAspNetModule);
     this.Modules.Add(this.module4);
     this.Modules.Add(this.securityModule1);
     this.Security = this.securityStrategyComplex1;
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.CollectionPortalAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }