Beispiel #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();
 }
        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();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // MySolutionAspNetApplication
            //
            this.ApplicationName = "MySolution";
            this.Modules.Add(this.module1);
            this.Modules.Add(this.module2);
            this.Modules.Add(this.module3);
            this.Modules.Add(this.module4);

            this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.MySolutionAspNetApplication_DatabaseVersionMismatch);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
        }