Esempio n. 1
0
        private void InitializeComponent() {
            this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule();
            this.module2 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
            this.module3 = new ExceptionHandingTester.Module.ExceptionHandingTesterModule();
            this.module4 = new ExceptionHandingTester.Module.Web.ExceptionHandingTesterAspNetModule();
            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=ExceptionHandingTester";
            this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
            // 
            // ExceptionHandingTesterAspNetApplication
            // 
            this.ApplicationName = "ExceptionHandingTester";
            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.ExceptionHandingTesterAspNetApplication_DatabaseVersionMismatch);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

        }
Esempio n. 2
0
        private void InitializeComponent()
        {
            this.module1        = new DevExpress.ExpressApp.SystemModule.SystemModule();
            this.module2        = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
            this.module3        = new ExceptionHandingTester.Module.ExceptionHandingTesterModule();
            this.module4        = new ExceptionHandingTester.Module.Web.ExceptionHandingTesterAspNetModule();
            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=ExceptionHandingTester";
            this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
            //
            // ExceptionHandingTesterAspNetApplication
            //
            this.ApplicationName = "ExceptionHandingTester";
            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.ExceptionHandingTesterAspNetApplication_DatabaseVersionMismatch);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
        }