コード例 #1
0
ファイル: WebApplication.cs プロジェクト: xwagner2/eXpand
 void InitializeComponent()
 {
     this.module1                  = new DevExpress.ExpressApp.SystemModule.SystemModule();
     this.module2                  = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
     this.module3                  = new MapViewTester.Module.MapViewTesterModule();
     this.module4                  = new MapViewTester.Module.Web.MapViewTesterAspNetModule();
     this.sqlConnection1           = new System.Data.SqlClient.SqlConnection();
     this.securityModule1          = new DevExpress.ExpressApp.Security.SecurityModule();
     this.xpandSystemModule1       = new Xpand.ExpressApp.SystemModule.XpandSystemModule();
     this.validationModule1        = new DevExpress.ExpressApp.Validation.ValidationModule();
     this.xpandSystemAspNetModule1 = new Xpand.ExpressApp.Web.SystemModule.XpandSystemAspNetModule();
     this._mapViewWebModule1       = new Xpand.ExpressApp.MapView.Web.MapViewWebModule();
     this.mapViewModule1           = new Xpand.ExpressApp.MapView.MapViewModule();
     this.cloneObjectModule1       = new DevExpress.ExpressApp.CloneObject.CloneObjectModule();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = "Integrated Security=SSPI;Pooling=false;Data Source=.\\SQLEXPRESS;Initial Catalog=M" +
                                            "apViewTester";
     this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
     //
     // securityModule1
     //
     this.securityModule1.UserType = null;
     //
     // validationModule1
     //
     this.validationModule1.AllowValidationDetailsAccess = true;
     //
     // MapViewTesterAspNetApplication
     //
     this.ApplicationName = "MapViewTester";
     this.Connection      = this.sqlConnection1;
     this.Modules.Add(this.module1);
     this.Modules.Add(this.module2);
     this.Modules.Add(this.mapViewModule1);
     this.Modules.Add(this.module3);
     this.Modules.Add(this.securityModule1);
     this.Modules.Add(this.xpandSystemModule1);
     this.Modules.Add(this.validationModule1);
     this.Modules.Add(this.cloneObjectModule1);
     this.Modules.Add(this.xpandSystemAspNetModule1);
     this.Modules.Add(this._mapViewWebModule1);
     this.Modules.Add(this.module4);
     this.DatabaseVersionMismatch += new System.EventHandler <DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.MapViewTesterAspNetApplication_DatabaseVersionMismatch);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #2
0
ファイル: WebApplication.cs プロジェクト: kamchung322/eXpand
        void InitializeComponent()
        {
            this.module1 = new DevExpress.ExpressApp.SystemModule.SystemModule();
            this.module2 = new DevExpress.ExpressApp.Web.SystemModule.SystemAspNetModule();
            this.module3 = new MapViewTester.Module.MapViewTesterModule();
            this.module4 = new MapViewTester.Module.Web.MapViewTesterAspNetModule();
            this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
            this.securityModule1 = new DevExpress.ExpressApp.Security.SecurityModule();
            this.xpandSystemModule1 = new Xpand.ExpressApp.SystemModule.XpandSystemModule();
            this.validationModule1 = new DevExpress.ExpressApp.Validation.ValidationModule();
            this.xpandSystemAspNetModule1 = new Xpand.ExpressApp.Web.SystemModule.XpandSystemAspNetModule();
            this._mapViewWebModule1 = new Xpand.ExpressApp.MapView.Web.MapViewWebModule();
            this.mapViewModule1 = new Xpand.ExpressApp.MapView.MapViewModule();
            this.cloneObjectModule1 = new DevExpress.ExpressApp.CloneObject.CloneObjectModule();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // sqlConnection1
            // 
            this.sqlConnection1.ConnectionString = "Integrated Security=SSPI;Pooling=false;Data Source=.\\SQLEXPRESS;Initial Catalog=M" +
    "apViewTester";
            this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
            // 
            // securityModule1
            // 
            this.securityModule1.UserType = null;
            // 
            // validationModule1
            // 
            this.validationModule1.AllowValidationDetailsAccess = true;
            // 
            // MapViewTesterAspNetApplication
            // 
            this.ApplicationName = "MapViewTester";
            this.Connection = this.sqlConnection1;
            this.Modules.Add(this.module1);
            this.Modules.Add(this.module2);
            this.Modules.Add(this.mapViewModule1);
            this.Modules.Add(this.module3);
            this.Modules.Add(this.securityModule1);
            this.Modules.Add(this.xpandSystemModule1);
            this.Modules.Add(this.validationModule1);
            this.Modules.Add(this.cloneObjectModule1);
            this.Modules.Add(this.xpandSystemAspNetModule1);
            this.Modules.Add(this._mapViewWebModule1);
            this.Modules.Add(this.module4);
            this.DatabaseVersionMismatch += new System.EventHandler<DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs>(this.MapViewTesterAspNetApplication_DatabaseVersionMismatch);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

        }