| | |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewBrowser)); |
| | | this.statusStrip1 = new System.Windows.Forms.StatusStrip(); |
| | | this.label_center = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.toolStripStatusLabel_rotation = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.label_zoom = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.label_mouse = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.toolStripStatusLabel_split1 = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.label_ZZ = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.toolStripStatusLabel_split2 = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.label_file = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.panel1 = new System.Windows.Forms.Panel(); |
| | | this.toolStrip1 = new System.Windows.Forms.ToolStrip(); |
| | | this.toolStripSplitButton2 = new System.Windows.Forms.ToolStripSplitButton(); |
| | | this.新建ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.打开文件位置ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.ePA中打开ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.旧版打开ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.toolStripButton_save = new System.Windows.Forms.ToolStripSplitButton(); |
| | | this.另存为ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.以当前视角另存ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | |
| | | this.反选ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.timer_draw = new System.Windows.Forms.Timer(this.components); |
| | | this.map = new Hydro.WinfrmUI.DMap(); |
| | | this.statusStrip1.SuspendLayout(); |
| | | this.panel1.SuspendLayout(); |
| | | this.toolStrip1.SuspendLayout(); |
| | | this.右键_Menu.SuspendLayout(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // statusStrip1 |
| | | // |
| | | this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| | | this.label_center, |
| | | this.toolStripStatusLabel_rotation, |
| | | this.label_zoom, |
| | | this.label_mouse, |
| | | this.toolStripStatusLabel_split1, |
| | | this.label_ZZ, |
| | | this.toolStripStatusLabel_split2, |
| | | this.label_file}); |
| | | this.statusStrip1.Location = new System.Drawing.Point(0, 578); |
| | | this.statusStrip1.Name = "statusStrip1"; |
| | | this.statusStrip1.Size = new System.Drawing.Size(1051, 22); |
| | | this.statusStrip1.TabIndex = 0; |
| | | this.statusStrip1.Text = "statusStrip1"; |
| | | // |
| | | // label_center |
| | | // |
| | | this.label_center.Name = "label_center"; |
| | | this.label_center.Size = new System.Drawing.Size(73, 17); |
| | | this.label_center.Text = "center:0,0"; |
| | | this.label_center.Click += new System.EventHandler(this.label_center_Click); |
| | | // |
| | | // toolStripStatusLabel_rotation |
| | | // |
| | | this.toolStripStatusLabel_rotation.Name = "toolStripStatusLabel_rotation"; |
| | | this.toolStripStatusLabel_rotation.Size = new System.Drawing.Size(83, 17); |
| | | this.toolStripStatusLabel_rotation.Text = "rotation:0,0"; |
| | | // |
| | | // label_zoom |
| | | // |
| | | this.label_zoom.Name = "label_zoom"; |
| | | this.label_zoom.Size = new System.Drawing.Size(61, 17); |
| | | this.label_zoom.Text = "Zoom:1"; |
| | | this.label_zoom.Click += new System.EventHandler(this.label_zoom_Click); |
| | | // |
| | | // label_mouse |
| | | // |
| | | this.label_mouse.Name = "label_mouse"; |
| | | this.label_mouse.Size = new System.Drawing.Size(65, 17); |
| | | this.label_mouse.Text = "X:0 Y:0"; |
| | | // |
| | | // toolStripStatusLabel_split1 |
| | | // |
| | | this.toolStripStatusLabel_split1.Name = "toolStripStatusLabel_split1"; |
| | | this.toolStripStatusLabel_split1.Size = new System.Drawing.Size(11, 17); |
| | | this.toolStripStatusLabel_split1.Text = "|"; |
| | | // |
| | | // label_ZZ |
| | | // |
| | | this.label_ZZ.Name = "label_ZZ"; |
| | | this.label_ZZ.Size = new System.Drawing.Size(71, 17); |
| | | this.label_ZZ.Text = "正交模式:开"; |
| | | this.label_ZZ.Click += new System.EventHandler(this.label_ZZ_Click); |
| | | // |
| | | // toolStripStatusLabel_split2 |
| | | // |
| | | this.toolStripStatusLabel_split2.Name = "toolStripStatusLabel_split2"; |
| | | this.toolStripStatusLabel_split2.Size = new System.Drawing.Size(11, 17); |
| | | this.toolStripStatusLabel_split2.Text = "|"; |
| | | // |
| | | // label_file |
| | | // |
| | | this.label_file.Name = "label_file"; |
| | | this.label_file.Size = new System.Drawing.Size(25, 17); |
| | | this.label_file.Text = "file"; |
| | | this.label_file.Click += new System.EventHandler(this.label_file_Click); |
| | | this.label_file.DoubleClick += new System.EventHandler(this.label_file_DoubleClick); |
| | | // |
| | | // panel1 |
| | | // |
| | |
| | | // |
| | | this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; |
| | | this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| | | this.toolStripSplitButton2, |
| | | this.toolStripButton_save, |
| | | this.toolStripSeparator2, |
| | | this.toolStripButton_普通, |
| | |
| | | this.toolStripSeparator21}); |
| | | this.toolStrip1.Location = new System.Drawing.Point(0, 0); |
| | | this.toolStrip1.Name = "toolStrip1"; |
| | | this.toolStrip1.Size = new System.Drawing.Size(1073, 25); |
| | | this.toolStrip1.Size = new System.Drawing.Size(1009, 25); |
| | | this.toolStrip1.TabIndex = 6; |
| | | this.toolStrip1.Text = "toolStrip1"; |
| | | // |
| | | // toolStripSplitButton2 |
| | | // |
| | | this.toolStripSplitButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| | | this.新建ToolStripMenuItem, |
| | | this.toolStripSeparator1, |
| | | this.打开文件位置ToolStripMenuItem, |
| | | this.ePA中打开ToolStripMenuItem, |
| | | this.旧版打开ToolStripMenuItem}); |
| | | this.toolStripSplitButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton2.Image"))); |
| | | this.toolStripSplitButton2.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.toolStripSplitButton2.Name = "toolStripSplitButton2"; |
| | | this.toolStripSplitButton2.Size = new System.Drawing.Size(64, 22); |
| | | this.toolStripSplitButton2.Text = "打开"; |
| | | this.toolStripSplitButton2.ButtonClick += new System.EventHandler(this.tool打开_ButtonClick); |
| | | // |
| | | // 新建ToolStripMenuItem |
| | | // |
| | | this.新建ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("新建ToolStripMenuItem.Image"))); |
| | | this.新建ToolStripMenuItem.Name = "新建ToolStripMenuItem"; |
| | | this.新建ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
| | | this.新建ToolStripMenuItem.Text = "新建"; |
| | | // |
| | | // toolStripSeparator1 |
| | | // |
| | | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
| | | this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6); |
| | | // |
| | | // 打开文件位置ToolStripMenuItem |
| | | // |
| | | this.打开文件位置ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("打开文件位置ToolStripMenuItem.Image"))); |
| | | this.打开文件位置ToolStripMenuItem.Name = "打开文件位置ToolStripMenuItem"; |
| | | this.打开文件位置ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
| | | this.打开文件位置ToolStripMenuItem.Text = "打开文件位置"; |
| | | this.打开文件位置ToolStripMenuItem.Click += new System.EventHandler(this.打开文件位置ToolStripMenuItem_Click); |
| | | // |
| | | // ePA中打开ToolStripMenuItem |
| | | // |
| | | this.ePA中打开ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ePA中打开ToolStripMenuItem.Image"))); |
| | | this.ePA中打开ToolStripMenuItem.Name = "ePA中打开ToolStripMenuItem"; |
| | | this.ePA中打开ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
| | | this.ePA中打开ToolStripMenuItem.Text = "EPA中打开"; |
| | | this.ePA中打开ToolStripMenuItem.Click += new System.EventHandler(this.EPA中打开ToolStripMenuItem_Click); |
| | | // |
| | | // 旧版打开ToolStripMenuItem |
| | | // |
| | | this.旧版打开ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("旧版打开ToolStripMenuItem.Image"))); |
| | | this.旧版打开ToolStripMenuItem.Name = "旧版打开ToolStripMenuItem"; |
| | | this.旧版打开ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
| | | this.旧版打开ToolStripMenuItem.Text = "旧版打开"; |
| | | this.旧版打开ToolStripMenuItem.Visible = false; |
| | | this.旧版打开ToolStripMenuItem.Click += new System.EventHandler(this.旧版打开ToolStripMenuItem_Click); |
| | | // |
| | | // toolStripButton_save |
| | | // |
| | |
| | | // |
| | | this.另存为ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("另存为ToolStripMenuItem.Image"))); |
| | | this.另存为ToolStripMenuItem.Name = "另存为ToolStripMenuItem"; |
| | | this.另存为ToolStripMenuItem.Size = new System.Drawing.Size(160, 22); |
| | | this.另存为ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
| | | this.另存为ToolStripMenuItem.Text = "另存为"; |
| | | this.另存为ToolStripMenuItem.Click += new System.EventHandler(this.另存为ToolStripMenuItem_Click); |
| | | // |
| | |
| | | // |
| | | this.以当前视角另存ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("以当前视角另存ToolStripMenuItem.Image"))); |
| | | this.以当前视角另存ToolStripMenuItem.Name = "以当前视角另存ToolStripMenuItem"; |
| | | this.以当前视角另存ToolStripMenuItem.Size = new System.Drawing.Size(160, 22); |
| | | this.以当前视角另存ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
| | | this.以当前视角另存ToolStripMenuItem.Text = "以当前视角另存"; |
| | | this.以当前视角另存ToolStripMenuItem.Click += new System.EventHandler(this.以当前视角另存ToolStripMenuItem_Click); |
| | | // |
| | |
| | | // |
| | | this.增量保存ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("增量保存ToolStripMenuItem.Image"))); |
| | | this.增量保存ToolStripMenuItem.Name = "增量保存ToolStripMenuItem"; |
| | | this.增量保存ToolStripMenuItem.Size = new System.Drawing.Size(160, 22); |
| | | this.增量保存ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); |
| | | this.增量保存ToolStripMenuItem.Text = "增量保存"; |
| | | this.增量保存ToolStripMenuItem.Click += new System.EventHandler(this.增量保存ToolStripMenuItem_Click); |
| | | // |
| | |
| | | this.map.Location = new System.Drawing.Point(0, 24); |
| | | this.map.mapOption = ((Hydro.MapView.MapDimensions)(resources.GetObject("map.mapOption"))); |
| | | this.map.Name = "map"; |
| | | this.map.Size = new System.Drawing.Size(1051, 554); |
| | | this.map.Size = new System.Drawing.Size(1051, 576); |
| | | this.map.TabIndex = 8; |
| | | // |
| | | // ViewBrowser |
| | | // |
| | | this.Controls.Add(this.map); |
| | | this.Controls.Add(this.panel1); |
| | | this.Controls.Add(this.statusStrip1); |
| | | this.Name = "ViewBrowser"; |
| | | this.Size = new System.Drawing.Size(1051, 600); |
| | | this.Load += new System.EventHandler(this.MapViewer_Load); |
| | | this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MapViewer_KeyDown); |
| | | this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MapViewer_KeyPress); |
| | | this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.MapViewer_PreKeyPress); |
| | | this.statusStrip1.ResumeLayout(false); |
| | | this.statusStrip1.PerformLayout(); |
| | | this.panel1.ResumeLayout(false); |
| | | this.panel1.PerformLayout(); |
| | | this.toolStrip1.ResumeLayout(false); |
| | | this.toolStrip1.PerformLayout(); |
| | | this.右键_Menu.ResumeLayout(false); |
| | | this.ResumeLayout(false); |
| | | this.PerformLayout(); |
| | | |
| | | } |
| | | |
| | |
| | | private ToolStripMenuItem 设置长度ToolStripMenuItem; |
| | | private ToolStripMenuItem 标高推测ToolStripMenuItem; |
| | | private ToolStripMenuItem 标高导出ToolStripMenuItem; |
| | | private ToolStripMenuItem 旧版打开ToolStripMenuItem; |
| | | private ToolStripSplitButton toolStripButton_save; |
| | | private ToolStripMenuItem 另存为ToolStripMenuItem; |
| | | private ToolStripMenuItem 以当前视角另存ToolStripMenuItem; |
| | |
| | | private ToolStripMenuItem 下游连通性ToolStripMenuItem; |
| | | private ToolStripMenuItem 上游连通性ToolStripMenuItem; |
| | | |
| | | private StatusStrip statusStrip1; |
| | | private ToolStripStatusLabel label_center; |
| | | private ToolStripStatusLabel label_zoom; |
| | | private ToolStripStatusLabel label_mouse; |
| | | |
| | | private Panel panel1; |
| | | private ToolStrip toolStrip1; |
| | | private ToolStripSplitButton toolStripSplitButton1; |
| | | private ToolStripSplitButton toolStripSplitButton2; |
| | | private ToolStripMenuItem 新建ToolStripMenuItem; |
| | | private ToolStripMenuItem toolStripMenuItem2; |
| | | private ToolStripMenuItem toolStripMenuItem3; |
| | | private ToolStripMenuItem toolStripMenuItem4; |
| | |
| | | private ToolStripMenuItem toolStripMenuItem6; |
| | | private ToolStripMenuItem toolStripMenuItem7; |
| | | private ToolStripMenuItem toolStripMenuItem8; |
| | | private ToolStripSeparator toolStripSeparator1; |
| | | private ToolStripSeparator toolStripSeparator2; |
| | | private ToolStripButton toolStripButton_新建节点; |
| | | private ToolStripButton toolStripButton_新建管线; |
| | |
| | | private ToolStripSeparator toolStripSeparator3; |
| | | private ToolStripSeparator toolStripSeparator4; |
| | | private ToolStripButton toolStripButton_重复器; |
| | | private ToolStripMenuItem 打开文件位置ToolStripMenuItem; |
| | | private ToolStripButton toolStripButton_普通; |
| | | private ContextMenuStrip 右键_Menu; |
| | | |
| | |
| | | private ToolStripMenuItem 水库ToolStripMenuItem; |
| | | private ToolStripMenuItem 水池ToolStripMenuItem; |
| | | private ToolStripMenuItem 删除ToolStripMenuItem; |
| | | private ToolStripMenuItem ePA中打开ToolStripMenuItem; |
| | | private ToolStripMenuItem 视角ToolStripMenuItem; |
| | | private ToolStripSeparator toolStripSeparator6; |
| | | private ToolStripSplitButton toolStripComboBox_浏览模式; |
| | |
| | | private ToolStripSeparator toolStripSeparator8; |
| | | private ToolStripButton buttonUndo; |
| | | private ToolStripButton buttonRedo; |
| | | private ToolStripStatusLabel toolStripStatusLabel_split1; |
| | | private ToolStripStatusLabel toolStripStatusLabel_split2; |
| | | private ToolStripStatusLabel label_file; |
| | | private ToolStripMenuItem 轴镜像ToolStripMenuItem; |
| | | private ToolStripTextBox toolStripTextBox_水平旋转角度; |
| | | private ToolStripTextBox toolStripTextBox_缩放比例; |
| | | private ToolStripMenuItem toolStripMenuItem_放大2倍; |
| | | private ToolStripMenuItem toolStripMenuItem_缩小2倍; |
| | | private ToolStripStatusLabel toolStripStatusLabel_rotation; |
| | | private ToolStripButton toolStripButton_刷新; |
| | | private bool is45view = true; |
| | | private ToolStripMenuItem 关阀分析ToolStripMenuItem; |
| | |
| | | private ToolStripButton tb_颜色分级设置; |
| | | private ToolStripSeparator toolStripSeparator21; |
| | | private Timer timer_draw; |
| | | private ToolStripStatusLabel label_ZZ; |
| | | private ToolStripSeparator toolStripSeparator22; |
| | | private ToolStripMenuItem 楼层管理ToolStripMenuItem; |
| | | private ToolStripMenuItem 默认视角ToolStripMenuItem; |