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 template1 = new Hydro.MapView.Template(); Hydro.MapView.MapOption mapOption1 = new Hydro.MapView.MapOption(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.map = new CloudWaterNetwork.MapViewer(); this.SuspendLayout(); // // map // this.map._IsEditMode = true; template1.CenterX = 0F; template1.CenterY = 0F; template1.filePath = null; template1.ID = "00000000-0000-0000-0000-000000000000"; template1.ImportExcelIndex = 0; template1.ImportExcelPath = null; mapOption1._ShowJunction = true; mapOption1._ShowValve = true; mapOption1.junction_multiply = 1F; mapOption1.Link_multiply = 0.6667F; template1.mapOption = mapOption1; template1.MaxLevel = 99; template1.Node1 = null; template1.Node2 = null; template1.Regions = null; template1.rotation = 0D; template1.rotationF = 90D; template1.Type = Hydro.MapView.MapViewEnum.TemplateType.全部; template1.view = ((Hydro.MapView.MapDimensions)(resources.GetObject("template1.view"))); template1.Visible = null; template1.X = null; template1.Y = null; template1.zoom = 1F; template1.名称 = "临时"; this.map._newTemplate = template1; 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, 0); 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, 450); this.map.TabIndex = 0; this.map.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.map); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); } #endregion private CloudWaterNetwork.MapViewer map; } }