| | |
| | | private void InitializeComponent() |
| | | { |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2)); |
| | | this.mapViewer1 = new Hydro.MapUI.MapViewer(); |
| | | this.propertyForm1 = new Hydro.MapUI.PropertyForm(); |
| | | this.SuspendLayout(); |
| | | mapViewer1 = new MapUI.MapViewer(); |
| | | SuspendLayout(); |
| | | // |
| | | // mapViewer1 |
| | | // |
| | | this.mapViewer1._IsEditMode = true; |
| | | this.mapViewer1._newTemplate = null; |
| | | 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 = true; |
| | | this.mapViewer1.Size = new System.Drawing.Size(1000, 666); |
| | | this.mapViewer1.TabIndex = 0; |
| | | this.mapViewer1.zoom = 1F; |
| | | // |
| | | // propertyForm1 |
| | | // |
| | | this.propertyForm1.Dock = System.Windows.Forms.DockStyle.Right; |
| | | this.propertyForm1.Location = new System.Drawing.Point(1000, 0); |
| | | this.propertyForm1.Name = "propertyForm1"; |
| | | this.propertyForm1.Size = new System.Drawing.Size(272, 666); |
| | | this.propertyForm1.TabIndex = 1; |
| | | mapViewer1._IsEditMode = true; |
| | | mapViewer1._newTemplate = null; |
| | | mapViewer1._ShowJunction = true; |
| | | mapViewer1._ShowValve = true; |
| | | mapViewer1._Template = null; |
| | | mapViewer1.BackColor = System.Drawing.Color.Transparent; |
| | | mapViewer1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | mapViewer1.junction_multiply = 1F; |
| | | mapViewer1.Link_multiply = 1F; |
| | | mapViewer1.Location = new System.Drawing.Point(0, 0); |
| | | mapViewer1.Lock2DView = false; |
| | | mapViewer1.MapCenter = (System.Drawing.PointF)resources.GetObject("mapViewer1.MapCenter"); |
| | | mapViewer1.mapOption = (MapView.MapDimensions)resources.GetObject("mapViewer1.mapOption"); |
| | | mapViewer1.Margin = new System.Windows.Forms.Padding(4); |
| | | mapViewer1.Name = "mapViewer1"; |
| | | mapViewer1.Rotation = 0D; |
| | | mapViewer1.RotationF = 90D; |
| | | mapViewer1.ShowStatusBar = true; |
| | | mapViewer1.showToolBar = true; |
| | | mapViewer1.Size = new System.Drawing.Size(1484, 944); |
| | | mapViewer1.TabIndex = 0; |
| | | mapViewer1.zoom = 1F; |
| | | // |
| | | // Form2 |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(1272, 666); |
| | | this.Controls.Add(this.mapViewer1); |
| | | this.Controls.Add(this.propertyForm1); |
| | | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
| | | this.Name = "Form2"; |
| | | this.ShowIcon = false; |
| | | this.Text = "地图测试"; |
| | | this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
| | | this.Load += new System.EventHandler(this.Form2_Load); |
| | | this.ResumeLayout(false); |
| | | |
| | | AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); |
| | | AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; |
| | | ClientSize = new System.Drawing.Size(1484, 944); |
| | | Controls.Add(mapViewer1); |
| | | DoubleBuffered = true; |
| | | Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon"); |
| | | KeyPreview = true; |
| | | Margin = new System.Windows.Forms.Padding(4); |
| | | Name = "Form2"; |
| | | ShowIcon = false; |
| | | Text = "地图测试"; |
| | | WindowState = System.Windows.Forms.FormWindowState.Maximized; |
| | | Load += Form2_Load; |
| | | KeyDown += Form2_KeyDown; |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private MapUI.MapViewer mapViewer1; |
| | | private MapUI.PropertyForm propertyForm1; |
| | | //private MapUI.PropertyForm propertyForm1; |
| | | } |
| | | } |