private void InitializeComponent() { _module1 = new SystemModule(); _module2 = new SystemAspNetModule(); _securityStrategyComplex1 = new SecurityStrategyComplex(); _authenticationStandard1 = new AuthenticationStandard(); _module4 = new XtraDashboardTesterAspNetModule(); _sqlConnection1 = new SqlConnection(); _validationModule1 = new ValidationModule(); _dashboardModule1 = new DashboardModule(); _validationAspNetModule1 = new ValidationAspNetModule(); _xtraDashboardWebModule1 = new XtraDashboardWebModule(); _scriptRecorderModuleBase1 = new ScriptRecorderModuleBase(); _scriptRecorderAspNetModule1 = new ScriptRecorderAspNetModule(); _moduleModule1 = new ModuleModule(); ((ISupportInitialize)this).BeginInit(); // // _securityStrategyComplex1 // _securityStrategyComplex1.Authentication = _authenticationStandard1; _securityStrategyComplex1.RoleType = typeof(XpandPermissionPolicyRole); _securityStrategyComplex1.UserType = typeof(PermissionPolicyUser); // // _authenticationStandard1 // _authenticationStandard1.LogonParametersType = typeof(AuthenticationStandardLogonParameters); // // _sqlConnection1 // _sqlConnection1.ConnectionString = "Integrated Security=SSPI;Pooling=false;Data Source=.\\SQLEXPRESS;Initial Catalog=X" + "traDashboardTester"; _sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // validationModule1 // _validationModule1.AllowValidationDetailsAccess = true; _validationModule1.IgnoreWarningAndInformationRules = false; // // XtraDashboardTesterAspNetApplication // ApplicationName = "XtraDashboardTester"; Connection = _sqlConnection1; Modules.Add(_module1); Modules.Add(_module2); Modules.Add(_validationModule1); Modules.Add(_dashboardModule1); Modules.Add(_validationAspNetModule1); Modules.Add(_xtraDashboardWebModule1); Modules.Add(_scriptRecorderModuleBase1); Modules.Add(_scriptRecorderAspNetModule1); Modules.Add(_moduleModule1); Modules.Add(_module4); Security = _securityStrategyComplex1; ((ISupportInitialize)this).EndInit(); }
private void InitializeComponent() { _module1 = new SystemModule(); _module2 = new SystemAspNetModule(); securityStrategyComplex1 = new SecurityStrategyComplex(); authenticationStandard1 = new AuthenticationStandard(); _module4 = new XtraDashboardTesterAspNetModule(); _sqlConnection1 = new SqlConnection(); ((ISupportInitialize)(this)).BeginInit(); // // sqlConnection1 // _sqlConnection1.ConnectionString = @"Integrated Security=SSPI;Pooling=false;Data Source=.\SQLEXPRESS;Initial Catalog=XtraDashboardTester"; _sqlConnection1.FireInfoMessageEventOnUserErrors = false; this.securityStrategyComplex1.Authentication = this.authenticationStandard1; this.securityStrategyComplex1.RoleType = typeof(XpandRole); this.securityStrategyComplex1.UserType = typeof(DevExpress.ExpressApp.Security.Strategy.SecuritySystemUser); // // authenticationStandard1 // this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters); // // XtraDashboardTesterAspNetApplication // ApplicationName = "XtraDashboardTester"; Connection = _sqlConnection1; Modules.Add(_module1); Modules.Add(_module2); Modules.Add(_module4); this.Security = this.securityStrategyComplex1; DatabaseVersionMismatch += XtraDashboardTesterAspNetApplication_DatabaseVersionMismatch; ((ISupportInitialize)(this)).EndInit(); }