namespace TestForm { partial class Form1 { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { Hydro.MapView.Template template2 = new Hydro.MapView.Template(); Hydro.MapView.MapOption mapOption2 = new Hydro.MapView.MapOption(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.map = new Hydro.MapUI.MapViewer(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // map // this.map._IsEditMode = true; template2.CenterX = 0F; template2.CenterY = 0F; template2.filePath = null; template2.ID = "00000000-0000-0000-0000-000000000000"; template2.ImportExcelIndex = 0; template2.ImportExcelPath = null; mapOption2._ShowJunction = true; mapOption2._ShowValve = true; mapOption2.junction_multiply = 1F; mapOption2.Link_multiply = 0.6667F; template2.mapOption = mapOption2; template2.MaxLevel = 99; template2.Node1 = null; template2.Node2 = null; template2.Regions = null; template2.rotation = 0D; template2.rotationF = 90D; template2.Type = Hydro.MapView.MapViewEnum.TemplateType.全部; template2.view = ((Hydro.MapView.MapDimensions)(resources.GetObject("template2.view"))); template2.Visible = null; template2.X = null; template2.Y = null; template2.zoom = 1F; template2.名称 = "临时"; this.map._newTemplate = template2; this.map._ShowJunction = true; this.map._ShowValve = true; this.map.BackColor = System.Drawing.Color.Transparent; this.map.Dock = System.Windows.Forms.DockStyle.Fill; this.map.junction_multiply = 1F; this.map.Link_multiply = 1F; this.map.Location = new System.Drawing.Point(0, 25); //this.map.MapCenter = ((System.Drawing.PointF)(resources.GetObject("map.MapCenter"))); this.map.Name = "map"; this.map.Rotation = 0D; this.map.RotationF = 90D; this.map.ShowStatusBar = true; this.map.showToolBar = true; this.map.Size = new System.Drawing.Size(800, 425); this.map.TabIndex = 0; this.map.zoom = 1F; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButton1}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(800, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // toolStripButton1 // this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(52, 22); this.toolStripButton1.Text = "计算"; this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); // // 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.map); this.Controls.Add(this.toolStrip1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private Hydro.MapUI.MapViewer map; private System.Windows.Forms.ToolStrip toolStrip1; private System.Windows.Forms.ToolStripButton toolStripButton1; } }