예제 #1
0
 private void InitializeComponent()
 {
     this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3 = new SimpleProjectManager.Module.SimpleProjectManagerModule();
     this.module4 = new SimpleProjectManager.Module.Web.SimpleProjectManagerAspNetModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // SimpleProjectManagerAspNetApplication
     //
     this.ApplicationName = "SimpleProjectManager";
     this.LinkNewObjectToParentImmediately = false;
     this.CheckCompatibilityType = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema;
     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.SimpleProjectManagerAspNetApplication_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 SimpleProjectManager.Module.SimpleProjectManagerModule();
     this.module4       = new SimpleProjectManager.Module.Web.SimpleProjectManagerAspNetModule();
     this.objectsModule = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // SimpleProjectManagerAspNetApplication
     //
     this.ApplicationName        = "SimpleProjectManager";
     this.CheckCompatibilityType = DevExpress.ExpressApp.CheckCompatibilityType.DatabaseSchema;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.module4);
     this.Modules.Add(this.objectsModule);
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.SimpleProjectManagerAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }