private void InitializeComponent()
        {
            this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule();
            this.module2 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
            this.module3 = new SampleProject.Module.SampleProjectModule();
            this.module4 = new SampleProject.Module.Web.SampleProjectAspNetModule();
            this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // sqlConnection1
            //
            this.sqlConnection1.ConnectionString = @"Integrated Security=SSPI;Pooling=false;Data Source=.\SQLEXPRESS;Initial Catalog=SampleProject";
            this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
            //
            // SampleProjectAspNetApplication
            //
            this.ApplicationName = "SampleProject";
            this.Connection = this.sqlConnection1;
            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.SampleProjectAspNetApplication_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 SampleProject.Module.SampleProjectModule();
            this.module4        = new SampleProject.Module.Web.SampleProjectAspNetModule();
            this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // sqlConnection1
            //
            this.sqlConnection1.ConnectionString = @"Integrated Security=SSPI;Pooling=false;Data Source=.\SQLEXPRESS;Initial Catalog=SampleProject";
            this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
            //
            // SampleProjectAspNetApplication
            //
            this.ApplicationName = "SampleProject";
            this.Connection      = this.sqlConnection1;
            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.SampleProjectAspNetApplication_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 SampleProject.Module.SampleProjectModule();
     this.module4                  = new SampleProject.Module.Web.SampleProjectAspNetModule();
     this.securityModule1          = new DevExpress.ExpressApp.Security.SecurityModule();
     this.securityStrategyComplex1 = new DevExpress.ExpressApp.Security.SecurityStrategyComplex();
     this.securityStrategyComplex1.SupportNavigationPermissionsForTypes = false;
     this.authenticationStandard1 = new DevExpress.ExpressApp.Security.AuthenticationStandard();
     this.validationModule        = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.validationAspNetModule  = new DevExpress.ExpressApp.Validation.Web.ValidationAspNetModule();
     this.viewVariantsModule      = new DevExpress.ExpressApp.ViewVariantsModule.ViewVariantsModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // securityStrategyComplex1
     //
     this.securityStrategyComplex1.Authentication = this.authenticationStandard1;
     this.securityStrategyComplex1.RoleType       = typeof(DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyRole);
     this.securityStrategyComplex1.UserType       = typeof(DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyUser);
     //
     // securityModule1
     //
     this.securityModule1.UserType = typeof(DevExpress.Persistent.BaseImpl.PermissionPolicy.PermissionPolicyUser);
     //
     // authenticationStandard1
     //
     this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters);
     //
     // SampleProjectAspNetApplication
     //
     this.ApplicationName        = "SampleProject";
     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.securityModule1);
     this.Security = this.securityStrategyComplex1;
     this.Modules.Add(this.validationModule);
     this.Modules.Add(this.validationAspNetModule);
     this.Modules.Add(this.viewVariantsModule);
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.SampleProjectAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }