示例#1
0
 private void InitializeComponent()
 {
     this.module1                        = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2                        = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3                        = new CIIP.Module.ERPModule();
     this.module4                        = new CIIP.Module.Web.ERPAspNetModule();
     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.conditionalAppearanceModule    = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule();
     this.fileAttachmentsAspNetModule    = new DevExpress.ExpressApp.FileAttachments.Web.FileAttachmentsAspNetModule();
     this.htmlPropertyEditorAspNetModule = new DevExpress.ExpressApp.HtmlPropertyEditor.Web.HtmlPropertyEditorAspNetModule();
     this.notificationsModule            = new DevExpress.ExpressApp.Notifications.NotificationsModule();
     this.notificationsAspNetModule      = new DevExpress.ExpressApp.Notifications.Web.NotificationsAspNetModule();
     this.pivotChartModuleBase           = new DevExpress.ExpressApp.PivotChart.PivotChartModuleBase();
     this.pivotChartAspNetModule         = new DevExpress.ExpressApp.PivotChart.Web.PivotChartAspNetModule();
     this.pivotGridModule                = new DevExpress.ExpressApp.PivotGrid.PivotGridModule();
     this.pivotGridAspNetModule          = new DevExpress.ExpressApp.PivotGrid.Web.PivotGridAspNetModule();
     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.stateMachineModule             = new DevExpress.ExpressApp.StateMachine.StateMachineModule();
     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.codeFirstViewModule1           = new CIIP.CodeFirstView.CodeFirstViewModule();
     this.admiralStateMachineModule1     = new CIIP.StateMachine.AdmiralStateMachineModule();
     this.formCodeModule1                = new CIIP.FormCode.FormCodeModule();
     this.iconModule1                    = new CIIP.Icon.IconModule();
     this.importDataModule1              = new Admiral.ImportData.ImportDataModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // securityStrategyComplex1
     //
     this.securityStrategyComplex1.Authentication = this.authenticationStandard1;
     this.securityStrategyComplex1.RoleType       = typeof(DevExpress.ExpressApp.Security.Strategy.SecuritySystemRole);
     this.securityStrategyComplex1.UserType       = typeof(DevExpress.ExpressApp.Security.Strategy.SecuritySystemUser);
     //
     // authenticationStandard1
     //
     this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters);
     //
     // 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.ShowNotificationsWindow      = true;
     //
     // pivotChartModuleBase
     //
     this.pivotChartModuleBase.ShowAdditionalNavigation = 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;
     //
     // stateMachineModule
     //
     this.stateMachineModule.StateMachineStorageType = typeof(DevExpress.ExpressApp.StateMachine.Xpo.XpoStateMachine);
     //
     // validationModule
     //
     this.validationModule.AllowValidationDetailsAccess     = true;
     this.validationModule.IgnoreWarningAndInformationRules = false;
     //
     // ERPAspNetApplication
     //
     this.ApplicationName                  = "IMatrix.ERP";
     this.CheckCompatibilityType           = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema;
     this.LinkNewObjectToParentImmediately = false;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.objectsModule);
     this.Modules.Add(this.conditionalAppearanceModule);
     this.Modules.Add(this.notificationsModule);
     this.Modules.Add(this.pivotChartModuleBase);
     this.Modules.Add(this.pivotGridModule);
     this.Modules.Add(this.reportsModuleV2);
     this.Modules.Add(this.schedulerModuleBase);
     this.Modules.Add(this.validationModule);
     this.Modules.Add(this.stateMachineModule);
     this.Modules.Add(this.treeListEditorsModuleBase);
     this.Modules.Add(this.viewVariantsModule);
     this.Modules.Add(this.codeFirstViewModule1);
     this.Modules.Add(this.admiralStateMachineModule1);
     this.Modules.Add(this.formCodeModule1);
     this.Modules.Add(this.iconModule1);
     this.Modules.Add(this.importDataModule1);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.fileAttachmentsAspNetModule);
     this.Modules.Add(this.htmlPropertyEditorAspNetModule);
     this.Modules.Add(this.notificationsAspNetModule);
     this.Modules.Add(this.pivotChartAspNetModule);
     this.Modules.Add(this.pivotGridAspNetModule);
     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.ERPAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
示例#2
0
 private void InitializeComponent()
 {
     this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3 = new CIIP.Module.ERPModule();
     this.module4 = new CIIP.Module.Web.ERPAspNetModule();
     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.conditionalAppearanceModule = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule();
     this.fileAttachmentsAspNetModule = new DevExpress.ExpressApp.FileAttachments.Web.FileAttachmentsAspNetModule();
     this.htmlPropertyEditorAspNetModule = new DevExpress.ExpressApp.HtmlPropertyEditor.Web.HtmlPropertyEditorAspNetModule();
     this.notificationsModule = new DevExpress.ExpressApp.Notifications.NotificationsModule();
     this.notificationsAspNetModule = new DevExpress.ExpressApp.Notifications.Web.NotificationsAspNetModule();
     this.pivotChartModuleBase = new DevExpress.ExpressApp.PivotChart.PivotChartModuleBase();
     this.pivotChartAspNetModule = new DevExpress.ExpressApp.PivotChart.Web.PivotChartAspNetModule();
     this.pivotGridModule = new DevExpress.ExpressApp.PivotGrid.PivotGridModule();
     this.pivotGridAspNetModule = new DevExpress.ExpressApp.PivotGrid.Web.PivotGridAspNetModule();
     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.stateMachineModule = new DevExpress.ExpressApp.StateMachine.StateMachineModule();
     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.codeFirstViewModule1 = new CIIP.CodeFirstView.CodeFirstViewModule();
     this.admiralStateMachineModule1 = new CIIP.StateMachine.AdmiralStateMachineModule();
     this.formCodeModule1 = new CIIP.FormCode.FormCodeModule();
     this.iconModule1 = new CIIP.Icon.IconModule();
     this.importDataModule1 = new Admiral.ImportData.ImportDataModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // securityStrategyComplex1
     //
     this.securityStrategyComplex1.Authentication = this.authenticationStandard1;
     this.securityStrategyComplex1.RoleType = typeof(DevExpress.ExpressApp.Security.Strategy.SecuritySystemRole);
     this.securityStrategyComplex1.UserType = typeof(DevExpress.ExpressApp.Security.Strategy.SecuritySystemUser);
     //
     // authenticationStandard1
     //
     this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters);
     //
     // 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.ShowNotificationsWindow = true;
     //
     // pivotChartModuleBase
     //
     this.pivotChartModuleBase.ShowAdditionalNavigation = 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;
     //
     // stateMachineModule
     //
     this.stateMachineModule.StateMachineStorageType = typeof(DevExpress.ExpressApp.StateMachine.Xpo.XpoStateMachine);
     //
     // validationModule
     //
     this.validationModule.AllowValidationDetailsAccess = true;
     this.validationModule.IgnoreWarningAndInformationRules = false;
     //
     // ERPAspNetApplication
     //
     this.ApplicationName = "IMatrix.ERP";
     this.CheckCompatibilityType = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema;
     this.LinkNewObjectToParentImmediately = false;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.objectsModule);
     this.Modules.Add(this.conditionalAppearanceModule);
     this.Modules.Add(this.notificationsModule);
     this.Modules.Add(this.pivotChartModuleBase);
     this.Modules.Add(this.pivotGridModule);
     this.Modules.Add(this.reportsModuleV2);
     this.Modules.Add(this.schedulerModuleBase);
     this.Modules.Add(this.validationModule);
     this.Modules.Add(this.stateMachineModule);
     this.Modules.Add(this.treeListEditorsModuleBase);
     this.Modules.Add(this.viewVariantsModule);
     this.Modules.Add(this.codeFirstViewModule1);
     this.Modules.Add(this.admiralStateMachineModule1);
     this.Modules.Add(this.formCodeModule1);
     this.Modules.Add(this.iconModule1);
     this.Modules.Add(this.importDataModule1);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.fileAttachmentsAspNetModule);
     this.Modules.Add(this.htmlPropertyEditorAspNetModule);
     this.Modules.Add(this.notificationsAspNetModule);
     this.Modules.Add(this.pivotChartAspNetModule);
     this.Modules.Add(this.pivotGridAspNetModule);
     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.ERPAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }