📄 mainform.cs
字号:
//
// menuCommand_about
//
this.menuCommand_about.Description = "Menu";
this.menuCommand_about.Text = "关于我们";
this.menuCommand_about.Click += new System.EventHandler(this.menuCommand_about_Click);
//
// imageList
//
this.imageList.ImageSize = new System.Drawing.Size(16, 16);
this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
this.imageList.TransparentColor = System.Drawing.Color.Transparent;
//
// statusBarControl1
//
this.statusBarControl1.Location = new System.Drawing.Point(0, 469);
this.statusBarControl1.Name = "statusBarControl1";
this.statusBarControl1.Size = new System.Drawing.Size(832, 24);
this.statusBarControl1.StatusPanels.AddRange(new Crownwood.DotNetMagic.Controls.StatusPanel[] {
this.statusPanel_infor,
this.statusPanel_user,
this.statusPanel_xy});
this.statusBarControl1.TabIndex = 6;
//
// statusPanel_infor
//
this.statusPanel_infor.AutoScrollMargin = new System.Drawing.Size(0, 0);
this.statusPanel_infor.AutoScrollMinSize = new System.Drawing.Size(0, 0);
this.statusPanel_infor.AutoSizing = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
this.statusPanel_infor.Location = new System.Drawing.Point(2, 2);
this.statusPanel_infor.Name = "statusPanel_infor";
this.statusPanel_infor.RequestedWidth = 200;
this.statusPanel_infor.Size = new System.Drawing.Size(348, 18);
this.statusPanel_infor.TabIndex = 0;
this.statusPanel_infor.Text = "1111111111111";
//
// statusPanel_user
//
this.statusPanel_user.AutoScrollMargin = new System.Drawing.Size(0, 0);
this.statusPanel_user.AutoScrollMinSize = new System.Drawing.Size(0, 0);
this.statusPanel_user.Location = new System.Drawing.Point(2, 2);
this.statusPanel_user.Name = "statusPanel_user";
this.statusPanel_user.RequestedWidth = 200;
this.statusPanel_user.Size = new System.Drawing.Size(200, 18);
this.statusPanel_user.TabIndex = 0;
this.statusPanel_user.Text = "2222222222222";
//
// statusPanel_xy
//
this.statusPanel_xy.AutoScrollMargin = new System.Drawing.Size(0, 0);
this.statusPanel_xy.AutoScrollMinSize = new System.Drawing.Size(0, 0);
this.statusPanel_xy.Location = new System.Drawing.Point(2, 2);
this.statusPanel_xy.Name = "statusPanel_xy";
this.statusPanel_xy.RequestedWidth = 250;
this.statusPanel_xy.Size = new System.Drawing.Size(250, 18);
this.statusPanel_xy.TabIndex = 0;
this.statusPanel_xy.Text = "3";
//
// panel_kong_query
//
this.panel_kong_query.AutoScroll = true;
this.panel_kong_query.Controls.Add(this.panel_query_result);
this.panel_kong_query.Controls.Add(this.panel_query_bianhao);
this.panel_kong_query.Location = new System.Drawing.Point(24, 72);
this.panel_kong_query.Name = "panel_kong_query";
this.panel_kong_query.Size = new System.Drawing.Size(144, 376);
this.panel_kong_query.TabIndex = 8;
//
// panel_query_result
//
this.panel_query_result.Controls.Add(this.groupBox_re_map);
this.panel_query_result.Controls.Add(this.splitter_re_map_kong);
this.panel_query_result.Controls.Add(this.groupBox_re_kong);
this.panel_query_result.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel_query_result.Location = new System.Drawing.Point(0, 96);
this.panel_query_result.Name = "panel_query_result";
this.panel_query_result.Size = new System.Drawing.Size(144, 280);
this.panel_query_result.TabIndex = 3;
//
// groupBox_re_map
//
this.groupBox_re_map.Controls.Add(this.listView_re_map);
this.groupBox_re_map.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox_re_map.Location = new System.Drawing.Point(0, 156);
this.groupBox_re_map.Name = "groupBox_re_map";
this.groupBox_re_map.Size = new System.Drawing.Size(144, 124);
this.groupBox_re_map.TabIndex = 2;
this.groupBox_re_map.TabStop = false;
this.groupBox_re_map.Text = "相关地图";
//
// listView_re_map
//
this.listView_re_map.BackColor = System.Drawing.Color.WhiteSmoke;
this.listView_re_map.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.listView_re_map.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader4});
this.listView_re_map.Dock = System.Windows.Forms.DockStyle.Fill;
this.listView_re_map.FullRowSelect = true;
this.listView_re_map.GridLines = true;
this.listView_re_map.Location = new System.Drawing.Point(3, 17);
this.listView_re_map.MultiSelect = false;
this.listView_re_map.Name = "listView_re_map";
this.listView_re_map.Size = new System.Drawing.Size(138, 104);
this.listView_re_map.SmallImageList = this.imageList;
this.listView_re_map.TabIndex = 1;
this.listView_re_map.View = System.Windows.Forms.View.Details;
this.listView_re_map.DoubleClick += new System.EventHandler(this.listView_re_map_DoubleClick);
//
// columnHeader4
//
this.columnHeader4.Text = "地图名称";
this.columnHeader4.Width = 117;
//
// splitter_re_map_kong
//
this.splitter_re_map_kong.Dock = System.Windows.Forms.DockStyle.Top;
this.splitter_re_map_kong.Location = new System.Drawing.Point(0, 152);
this.splitter_re_map_kong.Name = "splitter_re_map_kong";
this.splitter_re_map_kong.Size = new System.Drawing.Size(144, 4);
this.splitter_re_map_kong.TabIndex = 3;
this.splitter_re_map_kong.TabStop = false;
//
// groupBox_re_kong
//
this.groupBox_re_kong.Controls.Add(this.listView_re_kong);
this.groupBox_re_kong.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox_re_kong.Location = new System.Drawing.Point(0, 0);
this.groupBox_re_kong.Name = "groupBox_re_kong";
this.groupBox_re_kong.Size = new System.Drawing.Size(144, 152);
this.groupBox_re_kong.TabIndex = 1;
this.groupBox_re_kong.TabStop = false;
this.groupBox_re_kong.Text = "查询结果";
//
// listView_re_kong
//
this.listView_re_kong.BackColor = System.Drawing.Color.WhiteSmoke;
this.listView_re_kong.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.listView_re_kong.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader2});
this.listView_re_kong.ContextMenu = this.contextMenu_kong;
this.listView_re_kong.Dock = System.Windows.Forms.DockStyle.Fill;
this.listView_re_kong.FullRowSelect = true;
this.listView_re_kong.GridLines = true;
this.listView_re_kong.HideSelection = false;
this.listView_re_kong.Location = new System.Drawing.Point(3, 17);
this.listView_re_kong.MultiSelect = false;
this.listView_re_kong.Name = "listView_re_kong";
this.listView_re_kong.Size = new System.Drawing.Size(138, 132);
this.listView_re_kong.SmallImageList = this.imageList;
this.listView_re_kong.TabIndex = 1;
this.listView_re_kong.View = System.Windows.Forms.View.Details;
this.listView_re_kong.DoubleClick += new System.EventHandler(this.listView_re_kong_DoubleClick);
this.listView_re_kong.SelectedIndexChanged += new System.EventHandler(this.listView_re_kong_SelectedIndexChanged);
//
// columnHeader2
//
this.columnHeader2.Text = "钻孔编号";
this.columnHeader2.Width = 118;
//
// contextMenu_kong
//
this.contextMenu_kong.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menu_k_position,
this.menu_k_info,
this.menu_k_del});
//
// menu_k_position
//
this.menu_k_position.Index = 0;
this.menu_k_position.Text = "图上定位";
this.menu_k_position.Click += new System.EventHandler(this.menu_k_position_Click);
//
// menu_k_info
//
this.menu_k_info.Index = 1;
this.menu_k_info.Text = "详细信息";
this.menu_k_info.Click += new System.EventHandler(this.menu_k_info_Click);
//
// menu_k_del
//
this.menu_k_del.Index = 2;
this.menu_k_del.Text = "删除钻孔";
this.menu_k_del.Click += new System.EventHandler(this.menu_k_del_Click);
//
// panel_query_bianhao
//
this.panel_query_bianhao.Controls.Add(this.groupBox_query);
this.panel_query_bianhao.Controls.Add(this.groupBox_map_query);
this.panel_query_bianhao.Dock = System.Windows.Forms.DockStyle.Top;
this.panel_query_bianhao.Location = new System.Drawing.Point(0, 0);
this.panel_query_bianhao.Name = "panel_query_bianhao";
this.panel_query_bianhao.Size = new System.Drawing.Size(144, 96);
this.panel_query_bianhao.TabIndex = 5;
//
// groupBox_query
//
this.groupBox_query.Controls.Add(this.btn_query);
this.groupBox_query.Controls.Add(this.txt_k_id);
this.groupBox_query.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox_query.Location = new System.Drawing.Point(0, 48);
this.groupBox_query.Name = "groupBox_query";
this.groupBox_query.Size = new System.Drawing.Size(144, 48);
this.groupBox_query.TabIndex = 0;
this.groupBox_query.TabStop = false;
this.groupBox_query.Text = "按编号查询";
//
// btn_query
//
this.btn_query.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_query.Location = new System.Drawing.Point(88, 16);
this.btn_query.Name = "btn_query";
this.btn_query.Size = new System.Drawing.Size(48, 24);
this.btn_query.TabIndex = 1;
this.btn_query.Text = "查询";
this.toolTip1.SetToolTip(this.btn_query, "执行查询");
this.btn_query.Click += new System.EventHandler(this.btn_query_Click);
//
// txt_k_id
//
this.txt_k_id.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txt_k_id.Location = new System.Drawing.Point(9, 18);
this.txt_k_id.Name = "txt_k_id";
this.txt_k_id.Size = new System.Drawing.Size(71, 21);
this.txt_k_id.TabIndex = 0;
this.txt_k_id.Text = "";
this.toolTip1.SetToolTip(this.txt_k_id, "请输入您想查询的钻孔编号");
//
// groupBox_map_query
//
this.groupBox_map_query.Controls.Add(this.btn_map_query);
this.groupBox_map_query.Controls.Add(this.btn_clear_select);
this.groupBox_map_query.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox_map_query.Location = new System.Drawing.Point(0, 0);
this.groupBox_map_query.Name = "groupBox_map_query";
this.groupBox_map_query.Size = new System.Drawing.Size(144, 48);
this.groupBox_map_query.TabIndex = 4;
this.groupBox_map_query.TabStop = false;
this.groupBox_map_query.Text = "图上查询";
//
// btn_map_query
//
this.btn_map_query.AlwaysDrawBorder = true;
this.btn_map_query.Location = new System.Drawing.Point(8, 16);
this.btn_map_query.Name = "btn_map_query";
this.btn_map_query.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.btn_map_query.Size = new System.Drawing.Size(62, 24);
this.btn_map_query.TabIndex = 1;
this.btn_map_query.Text = "拉框选择";
this.toolTip1.SetToolTip(this.btn_map_query, "在地图上拉框来选择钻孔");
this.btn_map_query.Click += new System.EventHandler(this.btn_map_query_Click);
//
// btn_clear_select
//
this.btn_clear_select.AlwaysDrawBorder = true;
this.btn_clear_select.Location = new System.Drawing.Point(76, 16);
this.btn_clear_select.Name = "btn_clear_select";
this.btn_clear_select.Size = new System.Drawing.Size(62, 24);
this.btn_clear_select.TabIndex = 2;
this.btn_clear_select.Text = "清除选择";
this.toolTip1.SetToolTip(this.btn_clear_select, "清除地图上的显示结果");
this.btn_clear_select.Click += new System.EventHandler(this.btn_clear_select_Click);
//
// panel_map_manage
//
this.panel_map_manage.Controls.Add(this.axSuperWkspManager1);
this.panel_map_manage.Location = new System.Drawing.Point(744, 48);
this.panel_map_manage.Name = "panel_map_manage";
this.panel_map_manage.Size = new System.Drawing.Size(88, 152);
this.panel_map_manage.TabIndex = 9;
//
// axSuperWkspManager1
//
this.axSuperWkspManager1.ContainingControl = this;
this.axSuperWkspManager1.Dock = System.Windows.Forms.DockStyle.Fill;
this.axSuperWkspManager1.Enabled = true;
this.axSuperWkspManager1.Location = new System.Drawing.Point(0, 0);
this.axSuperWkspManager1.Name = "axSuperWkspManager1";
this.axSuperWkspManager1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axSuperWkspManager1.OcxState")));
this.axSuperWkspManager1.Size = new System.Drawing.Size(88, 152);
this.axSuperWkspManager1.TabIndex = 0;
this.axSuperWkspManager1.LDbClick += new AxSuperWkspManagerLib._DSuperWkspManagerEvents_LDbClickEventHandler(this.axSuperWkspManager1_LDbClick);
//
// timer_flash_kong
//
this.timer_flash_kong.Interval = 400;
this.timer_flash_kong.Tick += new System.EventHandler(this.timer_flash_kong_Tick);
//
// toolControl2
//
this.toolControl2.Commands.AddRange(new Crownwood.DotNetMagic.Controls.Command.CommandBase[] {
this.separatorCommand1,
this.buttonCommand_null,
this.separatorCommand2,
this.buttonCommand_in,
this.buttonCommand_out,
this.buttonCommand_free,
this.buttonCommand_pan,
this.buttonCommand_full});
this.toolControl2.Location = new System.Drawing.Point(0, 25);
this.toolControl2.Name = "toolControl2";
this.toolControl2.Size = new System.Drawing.Size(832, 26);
this.toolControl2.TabIndex = 13;
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -