Пример #1
0
 private void InitializeComponent()
 {
     this.module1                            = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2                            = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3                            = new MySolution.Module.MySolutionModule();
     this.module4                            = new MySolution.Module.Web.MySolutionAspNetModule();
     this.securityModule1                    = new DevExpress.ExpressApp.Security.SecurityModule();
     this.securityStrategyComplex1           = new DevExpress.ExpressApp.Security.SecurityStrategyComplex();
     this.authenticationActiveDirectory1     = new DevExpress.ExpressApp.Security.AuthenticationActiveDirectory();
     this.objectsModule                      = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     this.conditionalAppearanceModule        = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule();
     this.validationModule                   = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.validationAspNetModule             = new DevExpress.ExpressApp.Validation.Web.ValidationAspNetModule();
     this.fileAttachmentsWindowsFormsModule2 = new DevExpress.ExpressApp.FileAttachments.Win.FileAttachmentsWindowsFormsModule();
     this.fileAttachmentsAspNetModule2       = new DevExpress.ExpressApp.FileAttachments.Web.FileAttachmentsAspNetModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // securityStrategyComplex1
     //
     this.securityStrategyComplex1.AllowAnonymousAccess  = false;
     this.securityStrategyComplex1.Authentication        = this.authenticationActiveDirectory1;
     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);
     //
     // authenticationActiveDirectory1
     //
     this.authenticationActiveDirectory1.CreateUserAutomatically = true;
     this.authenticationActiveDirectory1.LogonParametersType     = null;
     //
     // validationModule
     //
     this.validationModule.AllowValidationDetailsAccess     = true;
     this.validationModule.IgnoreWarningAndInformationRules = false;
     //
     // MySolutionAspNetApplication
     //
     this.ApplicationName        = "MySolution";
     this.CheckCompatibilityType = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.securityModule1);
     this.Modules.Add(this.objectsModule);
     this.Modules.Add(this.conditionalAppearanceModule);
     this.Modules.Add(this.validationModule);
     this.Modules.Add(this.fileAttachmentsWindowsFormsModule2);
     this.Modules.Add(this.fileAttachmentsAspNetModule2);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.validationAspNetModule);
     this.Modules.Add(this.module4);
     this.Security = this.securityStrategyComplex1;
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.MySolutionAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.systemModule1 = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.winSystemModule1 = new DevExpress.ExpressApp.Win.SystemModule.SystemWindowsFormsModule();
     this.mainDemoWinModule1 = new MainDemo.Module.Win.MainDemoWinModule();
     this.viewVariantsModule1 = new DevExpress.ExpressApp.ViewVariantsModule.ViewVariantsModule();
     this.validationModule1 = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.securityModule1 = new DevExpress.ExpressApp.Security.SecurityModule();
     this.mainDemoModule1 = new MainDemo.Module.MainDemoModule();
     this.objectsModule1 = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     this.reportsModuleV21 = new DevExpress.ExpressApp.ReportsV2.ReportsModuleV2();
     this.reportsWindowsFormsModuleV21 = new DevExpress.ExpressApp.ReportsV2.Win.ReportsWindowsFormsModuleV2();
     this.validationWinModule1 = new DevExpress.ExpressApp.Validation.Win.ValidationWindowsFormsModule();
     this.fileAttachmentsWinModule1 = new DevExpress.ExpressApp.FileAttachments.Win.FileAttachmentsWindowsFormsModule();
     this.auditTrailModule1 = new DevExpress.ExpressApp.AuditTrail.AuditTrailModule();
     this.conditionalAppearanceModule1 = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule();
     this.securityStrategyComplex1 = new DevExpress.ExpressApp.Security.SecurityStrategyComplex();
     this.authenticationStandard1 = new DevExpress.ExpressApp.Security.AuthenticationStandard();
     this.pivotChartWindowsFormsModule1 = new DevExpress.ExpressApp.PivotChart.Win.PivotChartWindowsFormsModule();
     this.pivotChartModuleBase1 = new DevExpress.ExpressApp.PivotChart.PivotChartModuleBase();
     this.schedulerWindowsFormsModule1 = new DevExpress.ExpressApp.Scheduler.Win.SchedulerWindowsFormsModule();
     this.schedulerModuleBase1 = new DevExpress.ExpressApp.Scheduler.SchedulerModuleBase();
     this.htmlPropertyEditorWindowsFormsModule1 = new DevExpress.ExpressApp.HtmlPropertyEditor.Win.HtmlPropertyEditorWindowsFormsModule();
     this.scriptRecorderModuleBase1 = new DevExpress.ExpressApp.ScriptRecorder.ScriptRecorderModuleBase();
     this.scriptRecorderWindowsFormsModule1 = new DevExpress.ExpressApp.ScriptRecorder.Win.ScriptRecorderWindowsFormsModule();
     this.notificationsModule = new DevExpress.ExpressApp.Notifications.NotificationsModule();
     this.notificationsModuleWin = new DevExpress.ExpressApp.Notifications.Win.NotificationsWindowsFormsModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // reportsModuleV21
     //
     this.reportsModuleV21.EnableInplaceReports = true;
     this.reportsModuleV21.ReportDataType = typeof(DevExpress.Persistent.BaseImpl.ReportDataV2);
     this.reportsModuleV21.ReportStoreMode = DevExpress.ExpressApp.ReportsV2.ReportStoreModes.XML;
     //
     // auditTrailModule1
     //
     this.auditTrailModule1.AuditDataItemPersistentType = typeof(DevExpress.Persistent.BaseImpl.AuditDataItemPersistent);
     //
     // securityComplex1
     //
     this.securityStrategyComplex1.Authentication = this.authenticationStandard1;
     this.securityStrategyComplex1.RoleType = typeof(PermissionPolicyRole);
     this.securityStrategyComplex1.UserType = typeof(PermissionPolicyUser);
     //
     // authenticationStandard1
     //
     this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters);
     this.authenticationStandard1.UserType = typeof(PermissionPolicyUser);
     //
     // MainDemoWinApplication
     //
     this.ApplicationName = "MainDemo";
     this.Modules.Add(this.systemModule1);
     this.Modules.Add(this.winSystemModule1);
     this.Modules.Add(this.viewVariantsModule1);
     this.Modules.Add(this.validationModule1);
     this.Modules.Add(this.securityModule1);
     this.Modules.Add(this.objectsModule1);
     this.Modules.Add(this.conditionalAppearanceModule1);
     this.Modules.Add(this.mainDemoModule1);
     this.Modules.Add(this.mainDemoWinModule1);
     this.Modules.Add(this.reportsModuleV21);
     this.Modules.Add(this.reportsWindowsFormsModuleV21);
     this.Modules.Add(this.validationWinModule1);
     this.Modules.Add(this.fileAttachmentsWinModule1);
     this.Modules.Add(this.auditTrailModule1);
     this.Modules.Add(this.pivotChartModuleBase1);
     this.Modules.Add(this.pivotChartWindowsFormsModule1);
     this.Modules.Add(this.schedulerModuleBase1);
     this.Modules.Add(this.schedulerWindowsFormsModule1);
     this.Modules.Add(this.htmlPropertyEditorWindowsFormsModule1);
     this.Modules.Add(this.scriptRecorderModuleBase1);
     this.Modules.Add(this.scriptRecorderWindowsFormsModule1);
     this.Modules.Add(this.notificationsModule);
     this.Modules.Add(this.notificationsModuleWin);
     this.UseOldTemplates = false;
     this.Security = this.securityStrategyComplex1;
     this.CheckCompatibilityType = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema;
     this.LastLogonParametersRead += new System.EventHandler<DevExpress.ExpressApp.LastLogonParametersReadEventArgs>(this.MainDemoWinApplication_LastLogonParametersRead);
     this.DatabaseVersionMismatch += new System.EventHandler<DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.MainDemoWinApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }