void InitializeComponent() { this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule(); this.module2 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule(); this.module3 = new StateMachineTester.Module.StateMachineTesterModule(); this.module4 = new StateMachineTester.Module.Web.StateMachineTesterAspNetModule(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.conditionalAppearanceModule1 = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule(); this.validationModule1 = new DevExpress.ExpressApp.Validation.ValidationModule(); this.stateMachineModule1 = new DevExpress.ExpressApp.StateMachine.StateMachineModule(); this.securityModule1 = new DevExpress.ExpressApp.Security.SecurityModule(); this.securityStrategyComplex1 = new DevExpress.ExpressApp.Security.SecurityStrategyComplex(); this.authenticationStandard1 = new DevExpress.ExpressApp.Security.AuthenticationStandard(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // sqlConnection1 // this.sqlConnection1.ConnectionString = "Integrated Security=SSPI;Pooling=false;Data Source=.\\SQLEXPRESS;Initial Catalog=S" + "tateMachineTester"; this.sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // validationModule1 // this.validationModule1.AllowValidationDetailsAccess = true; // // stateMachineModule1 // this.stateMachineModule1.StateMachineStorageType = typeof(DevExpress.ExpressApp.StateMachine.Xpo.XpoStateMachine); // // securityStrategyComplex1 // this.securityStrategyComplex1.Authentication = this.authenticationStandard1; this.securityStrategyComplex1.RoleType = typeof(DevExpress.ExpressApp.Security.Strategy.SecuritySystemRole); this.securityStrategyComplex1.UserType = typeof(DevExpress.ExpressApp.Security.Strategy.SecuritySystemUser); // // authenticationStandard1 // this.authenticationStandard1.LogonParametersType = typeof(DevExpress.ExpressApp.Security.AuthenticationStandardLogonParameters); // // StateMachineTesterAspNetApplication // this.ApplicationName = "StateMachineTester"; 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.conditionalAppearanceModule1); this.Modules.Add(this.validationModule1); this.Modules.Add(this.stateMachineModule1); this.Modules.Add(this.securityModule1); this.Security = this.securityStrategyComplex1; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
void InitializeComponent() { _module1 = new SystemModule(); _module2 = new SystemAspNetModule(); _module3 = new StateMachineTesterModule(); _module4 = new StateMachineTesterAspNetModule(); _sqlConnection1 = new SqlConnection(); _conditionalAppearanceModule1 = new DevExpress.ExpressApp.ConditionalAppearance.ConditionalAppearanceModule(); _validationModule1 = new DevExpress.ExpressApp.Validation.ValidationModule(); _stateMachineModule1 = new DevExpress.ExpressApp.StateMachine.StateMachineModule(); _securityModule1 = new DevExpress.ExpressApp.Security.SecurityModule(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // sqlConnection1 // _sqlConnection1.ConnectionString = "Integrated Security=SSPI;Pooling=false;Data Source=.\\SQLEXPRESS;Initial Catalog=S" + "tateMachineTester"; _sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // validationModule1 // _validationModule1.AllowValidationDetailsAccess = true; // // stateMachineModule1 // _stateMachineModule1.StateMachineStorageType = typeof(DevExpress.ExpressApp.StateMachine.Xpo.XpoStateMachine); // // securityStrategyComplex1 // // // StateMachineTesterAspNetApplication // ApplicationName = "StateMachineTester"; Connection = _sqlConnection1; Modules.Add(_module1); Modules.Add(_module2); Modules.Add(_module3); Modules.Add(_module4); Modules.Add(_conditionalAppearanceModule1); Modules.Add(_validationModule1); Modules.Add(_stateMachineModule1); Modules.Add(_securityModule1); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }