Exemple #1
0
 private void InitializeComponent()
 {
     this.module1                 = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2                 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3                 = new WinWebSolution.Module.WinWebSolutionModule();
     this.module4                 = new WinWebSolution.Module.Web.WinWebSolutionAspNetModule();
     this.module5                 = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.module6                 = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     this.securityModule1         = new DevExpress.ExpressApp.Security.SecurityModule();
     this.schedulerAspNetModule1  = new DevExpress.ExpressApp.Scheduler.Web.SchedulerAspNetModule();
     this.schedulerModuleBase1    = new DevExpress.ExpressApp.Scheduler.SchedulerModuleBase();
     this.securityComplex1        = new DevExpress.ExpressApp.Security.SecurityComplex();
     this.authenticationStandard1 = new DevExpress.ExpressApp.Security.AuthenticationStandard();
     this.schedulerAspNetModule2  = new DevExpress.ExpressApp.Scheduler.Web.SchedulerAspNetModule();
     this.schedulerModuleBase2    = new DevExpress.ExpressApp.Scheduler.SchedulerModuleBase();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // module5
     //
     this.module5.AllowValidationDetailsAccess     = true;
     this.module5.IgnoreWarningAndInformationRules = false;
     //
     // securityModule1
     //
     this.securityModule1.UserType = typeof(WinWebSolution.Module.Employee);
     //
     // securityComplex1
     //
     this.securityComplex1.Authentication = this.authenticationStandard1;
     this.securityComplex1.RoleType       = typeof(WinWebSolution.Module.Group);
     this.securityComplex1.UserType       = typeof(WinWebSolution.Module.Employee);
     //
     // authenticationStandard1
     //
     this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters);
     //
     // WinWebSolutionAspNetApplication
     //
     this.ApplicationName     = "WinWebSolution";
     this.CollectionsEditMode = DevExpress.ExpressApp.Editors.ViewEditMode.Edit;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.module6);
     this.Modules.Add(this.securityModule1);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.module4);
     this.Modules.Add(this.module5);
     this.Modules.Add(this.schedulerModuleBase2);
     this.Modules.Add(this.schedulerAspNetModule2);
     this.Security = this.securityComplex1;
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.WinWebSolutionAspNetApplication_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 WinWebSolution.Module.WinWebSolutionModule();
            this.module4         = new WinWebSolution.Module.Web.WinWebSolutionAspNetModule();
            this.module5         = new DevExpress.ExpressApp.Validation.ValidationModule();
            this.module6         = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
            this.securityModule1 = new DevExpress.ExpressApp.Security.SecurityModule();
            this.securitySimple1 = new DevExpress.ExpressApp.Security.SecuritySimple();
            this.authenticationActiveDirectory1 = new DevExpress.ExpressApp.Security.AuthenticationActiveDirectory();
            this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // securitySimple1
            //
            this.securitySimple1.Authentication = this.authenticationActiveDirectory1;
            this.securitySimple1.UserType       = typeof(DevExpress.Persistent.BaseImpl.SimpleUser);
            //
            // authenticationActiveDirectory1
            //
            this.authenticationActiveDirectory1.CreateUserAutomatically = true;
            this.authenticationActiveDirectory1.UserType = typeof(DevExpress.Persistent.BaseImpl.SimpleUser);
            //
            // sqlConnection1
            //
            this.sqlConnection1.ConnectionString = "Data Source=(local);Initial Catalog=WinWebSolution;Integrated Security=SSPI;Pooling=false";
            this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
            //
            // WinWebSolutionAspNetApplication
            //
            this.ApplicationName = "WinWebSolution";
            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.Modules.Add(this.module5);
            this.Modules.Add(this.module6);

            this.Modules.Add(this.securityModule1);
            this.Security = this.securitySimple1;
            this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.WinWebSolutionAspNetApplication_DatabaseVersionMismatch);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
        }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinWebSolutionAspNetApplication));
     this.systemModule1     = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.webSystemModule1  = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.validationModule1 = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.module2           = new WinWebSolution.Module.WinWebSolutionModule();
     this.module1           = new WinWebSolution.Module.Web.WinWebSolutionAspNetModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.ApplicationName = "WinWebSolution";
     this.Modules.Add(this.systemModule1);
     this.Modules.Add(this.webSystemModule1);
     this.Modules.Add(this.validationModule1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.module1);
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.DcDemoWebApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Exemple #4
0
 private void InitializeComponent()
 {
     this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3 = new WinWebSolution.Module.WinWebSolutionModule();
     this.module4 = new WinWebSolution.Module.Web.WinWebSolutionAspNetModule();
     this.businessClassLibraryCustomizationModule1 = new DevExpress.ExpressApp.Objects.BusinessClassLibraryCustomizationModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // WinWebSolutionAspNetApplication
     //
     this.ApplicationName     = "WinWebSolution";
     this.CollectionsEditMode = DevExpress.ExpressApp.Editors.ViewEditMode.Edit;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.businessClassLibraryCustomizationModule1);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.module4);
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.WinWebSolutionAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }