private void InitializeComponent()
 {
     this.module1         = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2         = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3         = new InitializeObjects.Module.InitializeObjectsModule();
     this.module5         = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.module6         = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     this.securityModule1 = new DevExpress.ExpressApp.Security.SecurityModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // module1
     //
     this.module1.AdditionalExportedTypes.Add(typeof(DevExpress.Xpo.XPObjectType));
     //
     // module5
     //
     this.module5.AllowValidationDetailsAccess = true;
     //
     // InitializeObjectsAspNetApplication
     //
     this.ApplicationName = "InitializeObjects";
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.module6);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.module5);
     this.Modules.Add(this.securityModule1);
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.InitializeObjectsAspNetApplication_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 InitializeObjects.Module.InitializeObjectsModule();
     this.module4 = new InitializeObjects.Module.Web.InitializeObjectsAspNetModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // InitializeObjectsAspNetApplication
     //
     this.ApplicationName     = "InitializeObjects";
     this.CollectionsEditMode = DevExpress.ExpressApp.Editors.ViewEditMode.Edit;
     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.InitializeObjectsAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }