From e0fe023484fee39d4f5054ed678ed522fd714aa8 Mon Sep 17 00:00:00 2001 From: cloudflight <cloudflight@126.com> Date: 星期日, 05 五月 2024 18:16:39 +0800 Subject: [PATCH] fix:工具窗体UI问题 --- Hydro.ClientTool/Form1.Designer.cs | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Hydro.ClientTool/Form1.Designer.cs b/Hydro.ClientTool/Form1.Designer.cs index 12de89a..2337e9e 100644 --- a/Hydro.ClientTool/Form1.Designer.cs +++ b/Hydro.ClientTool/Form1.Designer.cs @@ -29,37 +29,37 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.mapViewer1 = new Hydro.MapUI.MapViewer(); + //this.mapViewer1 = new Hydro.MapUI.MapViewer(); this.SuspendLayout(); // // mapViewer1 // - this.mapViewer1._IsEditMode = true; - this.mapViewer1._newTemplate = ((Hydro.MapView.Template)(resources.GetObject("mapViewer1._newTemplate"))); - this.mapViewer1._ShowJunction = true; - this.mapViewer1._ShowValve = true; - this.mapViewer1._Template = null; - this.mapViewer1.BackColor = System.Drawing.Color.Transparent; - this.mapViewer1.Dock = System.Windows.Forms.DockStyle.Fill; - this.mapViewer1.junction_multiply = 1F; - this.mapViewer1.Link_multiply = 1F; - this.mapViewer1.Location = new System.Drawing.Point(0, 0); - this.mapViewer1.MapCenter = ((System.Drawing.PointF)(resources.GetObject("mapViewer1.MapCenter"))); - this.mapViewer1.Name = "mapViewer1"; - this.mapViewer1.Rotation = 0D; - this.mapViewer1.RotationF = 90D; - this.mapViewer1.ShowStatusBar = true; - this.mapViewer1.showToolBar = false; - this.mapViewer1.Size = new System.Drawing.Size(800, 450); - this.mapViewer1.TabIndex = 1; - this.mapViewer1.zoom = 1F; + //this.mapViewer1._IsEditMode = true; + //this.mapViewer1._newTemplate = null;/*((Hydro.MapView.Template)(resources.GetObject("mapViewer1._newTemplate")));*/ + //this.mapViewer1._ShowJunction = true; + //this.mapViewer1._ShowValve = true; + //this.mapViewer1._Template = null; + //this.mapViewer1.BackColor = System.Drawing.Color.Transparent; + //this.mapViewer1.Dock = System.Windows.Forms.DockStyle.Fill; + //this.mapViewer1.junction_multiply = 1F; + //this.mapViewer1.Link_multiply = 1F; + //this.mapViewer1.Location = new System.Drawing.Point(0, 0); + //this.mapViewer1.MapCenter = new System.Drawing.PointF(0,0);//((System.Drawing.PointF)(resources.GetObject("mapViewer1.MapCenter"))); + //this.mapViewer1.Name = "mapViewer1"; + //this.mapViewer1.Rotation = 0D; + //this.mapViewer1.RotationF = 90D; + //this.mapViewer1.ShowStatusBar = true; + //this.mapViewer1.showToolBar = false; + //this.mapViewer1.Size = new System.Drawing.Size(800, 450); + //this.mapViewer1.TabIndex = 1; + //this.mapViewer1.zoom = 1F; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.mapViewer1); + //this.Controls.Add(this.mapViewer1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); @@ -69,7 +69,7 @@ #endregion - private MapUI.MapViewer mapViewer1; + //private MapUI.MapViewer mapViewer1; } } -- Gitblit v1.9.3