private void InitializeComponent() { _module1 = new SystemModule(); _module2 = new SystemAspNetModule(); _securityStrategyComplex1 = new SecurityStrategyComplex(); _authenticationStandard1 = new AuthenticationStandard(); _module4 = new XtraDashboardTesterAspNetModule(); _sqlConnection1 = new SqlConnection(); _validationModule1 = new ValidationModule(); _dashboardModule1 = new DashboardModule(); _validationAspNetModule1 = new ValidationAspNetModule(); _xtraDashboardWebModule1 = new XtraDashboardWebModule(); _scriptRecorderModuleBase1 = new ScriptRecorderModuleBase(); _scriptRecorderAspNetModule1 = new ScriptRecorderAspNetModule(); _moduleModule1 = new ModuleModule(); ((ISupportInitialize)this).BeginInit(); // // _securityStrategyComplex1 // _securityStrategyComplex1.Authentication = _authenticationStandard1; _securityStrategyComplex1.RoleType = typeof(XpandPermissionPolicyRole); _securityStrategyComplex1.UserType = typeof(PermissionPolicyUser); // // _authenticationStandard1 // _authenticationStandard1.LogonParametersType = typeof(AuthenticationStandardLogonParameters); // // _sqlConnection1 // _sqlConnection1.ConnectionString = "Integrated Security=SSPI;Pooling=false;Data Source=.\\SQLEXPRESS;Initial Catalog=X" + "traDashboardTester"; _sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // validationModule1 // _validationModule1.AllowValidationDetailsAccess = true; _validationModule1.IgnoreWarningAndInformationRules = false; // // XtraDashboardTesterAspNetApplication // ApplicationName = "XtraDashboardTester"; Connection = _sqlConnection1; Modules.Add(_module1); Modules.Add(_module2); Modules.Add(_validationModule1); Modules.Add(_dashboardModule1); Modules.Add(_validationAspNetModule1); Modules.Add(_xtraDashboardWebModule1); Modules.Add(_scriptRecorderModuleBase1); Modules.Add(_scriptRecorderAspNetModule1); Modules.Add(_moduleModule1); Modules.Add(_module4); Security = _securityStrategyComplex1; ((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(); }
private void InitializeComponent() { this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule(); this.module2 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule(); this.module3 = new EastIPSystem.Module.EastIPInternalInvoiceSystemModule(); this.module4 = new EastIPSystem.Module.Web.EastIPInternalInvoiceSystemAspNetModule(); 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.validationAspNetModule = new DevExpress.ExpressApp.Validation.Web.ValidationAspNetModule(); this.auditTrailModule1 = new DevExpress.ExpressApp.AuditTrail.AuditTrailModule(); this.dashboardsModule1 = new DevExpress.ExpressApp.Dashboards.DashboardsModule(); this.fileAttachmentsAspNetModule1 = new DevExpress.ExpressApp.FileAttachments.Web.FileAttachmentsAspNetModule(); this.dashboardsAspNetModule1 = new DevExpress.ExpressApp.Dashboards.Web.DashboardsAspNetModule(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // securityStrategyComplex1 // this.securityStrategyComplex1.Authentication = this.authenticationStandard1; 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); // // 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); // // EastIPInternalInvoiceSystemAspNetApplication // this.ApplicationName = "EastIPInternalInvoiceSystem"; this.CheckCompatibilityType = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema; this.Modules.Add(this.module1); 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.validationAspNetModule); this.Modules.Add(this.fileAttachmentsAspNetModule1); this.Modules.Add(this.module4); this.Modules.Add(this.securityModule1); this.Modules.Add(this.dashboardsAspNetModule1); this.Security = this.securityStrategyComplex1; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }