diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs index f2dbdd6..8b953da 100644 --- a/FrmFlagManager.Designer.cs +++ b/FrmFlagManager.Designer.cs @@ -43,13 +43,6 @@ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem(); this.btn_db = new DevComponents.DotNetBar.ButtonItem(); this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX(); - this.bar2 = new DevComponents.DotNetBar.Bar(); - this.lab_page_msg = new DevComponents.DotNetBar.LabelItem(); - this.btn_page_first = new DevComponents.DotNetBar.ButtonItem(); - this.btn_page_pre = new DevComponents.DotNetBar.ButtonItem(); - this.combo_page_num = new DevComponents.DotNetBar.ComboBoxItem(); - this.btn_page_next = new DevComponents.DotNetBar.ButtonItem(); - this.btn_page_last = new DevComponents.DotNetBar.ButtonItem(); this.LSSYS_ID = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn(); this.rowno = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn(); this.标识器id号 = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn(); @@ -69,6 +62,13 @@ this.监理责任人 = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn(); this.btnEdit = new DevComponents.DotNetBar.Controls.DataGridViewButtonXColumn(); this.btnDel = new DevComponents.DotNetBar.Controls.DataGridViewButtonXColumn(); + this.bar2 = new DevComponents.DotNetBar.Bar(); + this.lab_page_msg = new DevComponents.DotNetBar.LabelItem(); + this.btn_page_first = new DevComponents.DotNetBar.ButtonItem(); + this.btn_page_pre = new DevComponents.DotNetBar.ButtonItem(); + this.combo_page_num = new DevComponents.DotNetBar.ComboBoxItem(); + this.btn_page_next = new DevComponents.DotNetBar.ButtonItem(); + this.btn_page_last = new DevComponents.DotNetBar.ButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bar2)).BeginInit(); @@ -204,6 +204,7 @@ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1; + this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170))))); this.dataGridViewX1.Location = new System.Drawing.Point(0, 28); this.dataGridViewX1.MultiSelect = false; @@ -211,68 +212,11 @@ this.dataGridViewX1.ReadOnly = true; this.dataGridViewX1.RowTemplate.Height = 23; this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridViewX1.Size = new System.Drawing.Size(966, 410); + this.dataGridViewX1.Size = new System.Drawing.Size(966, 437); this.dataGridViewX1.TabIndex = 1; this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick); this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick); // - // bar2 - // - this.bar2.AntiAlias = true; - this.bar2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.lab_page_msg, - this.btn_page_first, - this.btn_page_pre, - this.combo_page_num, - this.btn_page_next, - this.btn_page_last}); - this.bar2.Location = new System.Drawing.Point(0, 437); - this.bar2.Name = "bar2"; - this.bar2.Size = new System.Drawing.Size(966, 28); - this.bar2.Stretch = true; - this.bar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.bar2.TabIndex = 2; - this.bar2.TabStop = false; - this.bar2.Text = "bar2"; - // - // lab_page_msg - // - this.lab_page_msg.Name = "lab_page_msg"; - this.lab_page_msg.PaddingLeft = 100; - this.lab_page_msg.PaddingRight = 10; - // - // btn_page_first - // - this.btn_page_first.Name = "btn_page_first"; - this.btn_page_first.Text = "|<首页"; - this.btn_page_first.Click += new System.EventHandler(this.btn_first_Click); - // - // btn_page_pre - // - this.btn_page_pre.Name = "btn_page_pre"; - this.btn_page_pre.Text = "<上一页"; - this.btn_page_pre.Click += new System.EventHandler(this.btn_pre_Click); - // - // combo_page_num - // - this.combo_page_num.DropDownHeight = 106; - this.combo_page_num.ItemHeight = 17; - this.combo_page_num.Name = "combo_page_num"; - this.combo_page_num.Click += new System.EventHandler(this.combo_page_Click); - // - // btn_page_next - // - this.btn_page_next.Name = "btn_page_next"; - this.btn_page_next.Text = "下一页>"; - this.btn_page_next.Click += new System.EventHandler(this.btn_nex_Click); - // - // btn_page_last - // - this.btn_page_last.Name = "btn_page_last"; - this.btn_page_last.Text = "末页>|"; - this.btn_page_last.Click += new System.EventHandler(this.btn_last_Click); - // // LSSYS_ID // this.LSSYS_ID.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; @@ -283,7 +227,6 @@ this.LSSYS_ID.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.LSSYS_ID.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.LSSYS_ID.Visible = false; - this.LSSYS_ID.Width = 42; // // rowno // @@ -301,7 +244,6 @@ this.标识器id号.Name = "标识器id号"; this.标识器id号.ReadOnly = true; this.标识器id号.Visible = false; - this.标识器id号.Width = 59; // // 编号 // @@ -463,6 +405,63 @@ this.btnDel.UseColumnTextForButtonValue = true; this.btnDel.Width = 54; // + // bar2 + // + this.bar2.AntiAlias = true; + this.bar2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.lab_page_msg, + this.btn_page_first, + this.btn_page_pre, + this.combo_page_num, + this.btn_page_next, + this.btn_page_last}); + this.bar2.Location = new System.Drawing.Point(0, 437); + this.bar2.Name = "bar2"; + this.bar2.Size = new System.Drawing.Size(966, 28); + this.bar2.Stretch = true; + this.bar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.bar2.TabIndex = 2; + this.bar2.TabStop = false; + this.bar2.Text = "bar2"; + // + // lab_page_msg + // + this.lab_page_msg.Name = "lab_page_msg"; + this.lab_page_msg.PaddingLeft = 100; + this.lab_page_msg.PaddingRight = 10; + // + // btn_page_first + // + this.btn_page_first.Name = "btn_page_first"; + this.btn_page_first.Text = "|<首页"; + this.btn_page_first.Click += new System.EventHandler(this.btn_first_Click); + // + // btn_page_pre + // + this.btn_page_pre.Name = "btn_page_pre"; + this.btn_page_pre.Text = "<上一页"; + this.btn_page_pre.Click += new System.EventHandler(this.btn_pre_Click); + // + // combo_page_num + // + this.combo_page_num.DropDownHeight = 106; + this.combo_page_num.ItemHeight = 17; + this.combo_page_num.Name = "combo_page_num"; + this.combo_page_num.Click += new System.EventHandler(this.combo_page_Click); + // + // btn_page_next + // + this.btn_page_next.Name = "btn_page_next"; + this.btn_page_next.Text = "下一页>"; + this.btn_page_next.Click += new System.EventHandler(this.btn_nex_Click); + // + // btn_page_last + // + this.btn_page_last.Name = "btn_page_last"; + this.btn_page_last.Text = "末页>|"; + this.btn_page_last.Click += new System.EventHandler(this.btn_last_Click); + // // FrmFlagManager // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); diff --git a/FrmFlagManager.Designer.cs b/FrmFlagManager.Designer.cs index f2dbdd6..8b953da 100644 --- a/FrmFlagManager.Designer.cs +++ b/FrmFlagManager.Designer.cs @@ -43,13 +43,6 @@ this.btn_add_menu = new DevComponents.DotNetBar.ButtonItem(); this.btn_db = new DevComponents.DotNetBar.ButtonItem(); this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX(); - this.bar2 = new DevComponents.DotNetBar.Bar(); - this.lab_page_msg = new DevComponents.DotNetBar.LabelItem(); - this.btn_page_first = new DevComponents.DotNetBar.ButtonItem(); - this.btn_page_pre = new DevComponents.DotNetBar.ButtonItem(); - this.combo_page_num = new DevComponents.DotNetBar.ComboBoxItem(); - this.btn_page_next = new DevComponents.DotNetBar.ButtonItem(); - this.btn_page_last = new DevComponents.DotNetBar.ButtonItem(); this.LSSYS_ID = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn(); this.rowno = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn(); this.标识器id号 = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn(); @@ -69,6 +62,13 @@ this.监理责任人 = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn(); this.btnEdit = new DevComponents.DotNetBar.Controls.DataGridViewButtonXColumn(); this.btnDel = new DevComponents.DotNetBar.Controls.DataGridViewButtonXColumn(); + this.bar2 = new DevComponents.DotNetBar.Bar(); + this.lab_page_msg = new DevComponents.DotNetBar.LabelItem(); + this.btn_page_first = new DevComponents.DotNetBar.ButtonItem(); + this.btn_page_pre = new DevComponents.DotNetBar.ButtonItem(); + this.combo_page_num = new DevComponents.DotNetBar.ComboBoxItem(); + this.btn_page_next = new DevComponents.DotNetBar.ButtonItem(); + this.btn_page_last = new DevComponents.DotNetBar.ButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bar2)).BeginInit(); @@ -204,6 +204,7 @@ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1; + this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170))))); this.dataGridViewX1.Location = new System.Drawing.Point(0, 28); this.dataGridViewX1.MultiSelect = false; @@ -211,68 +212,11 @@ this.dataGridViewX1.ReadOnly = true; this.dataGridViewX1.RowTemplate.Height = 23; this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridViewX1.Size = new System.Drawing.Size(966, 410); + this.dataGridViewX1.Size = new System.Drawing.Size(966, 437); this.dataGridViewX1.TabIndex = 1; this.dataGridViewX1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellClick); this.dataGridViewX1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridViewX1_MouseDoubleClick); // - // bar2 - // - this.bar2.AntiAlias = true; - this.bar2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.lab_page_msg, - this.btn_page_first, - this.btn_page_pre, - this.combo_page_num, - this.btn_page_next, - this.btn_page_last}); - this.bar2.Location = new System.Drawing.Point(0, 437); - this.bar2.Name = "bar2"; - this.bar2.Size = new System.Drawing.Size(966, 28); - this.bar2.Stretch = true; - this.bar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.bar2.TabIndex = 2; - this.bar2.TabStop = false; - this.bar2.Text = "bar2"; - // - // lab_page_msg - // - this.lab_page_msg.Name = "lab_page_msg"; - this.lab_page_msg.PaddingLeft = 100; - this.lab_page_msg.PaddingRight = 10; - // - // btn_page_first - // - this.btn_page_first.Name = "btn_page_first"; - this.btn_page_first.Text = "|<首页"; - this.btn_page_first.Click += new System.EventHandler(this.btn_first_Click); - // - // btn_page_pre - // - this.btn_page_pre.Name = "btn_page_pre"; - this.btn_page_pre.Text = "<上一页"; - this.btn_page_pre.Click += new System.EventHandler(this.btn_pre_Click); - // - // combo_page_num - // - this.combo_page_num.DropDownHeight = 106; - this.combo_page_num.ItemHeight = 17; - this.combo_page_num.Name = "combo_page_num"; - this.combo_page_num.Click += new System.EventHandler(this.combo_page_Click); - // - // btn_page_next - // - this.btn_page_next.Name = "btn_page_next"; - this.btn_page_next.Text = "下一页>"; - this.btn_page_next.Click += new System.EventHandler(this.btn_nex_Click); - // - // btn_page_last - // - this.btn_page_last.Name = "btn_page_last"; - this.btn_page_last.Text = "末页>|"; - this.btn_page_last.Click += new System.EventHandler(this.btn_last_Click); - // // LSSYS_ID // this.LSSYS_ID.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; @@ -283,7 +227,6 @@ this.LSSYS_ID.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.LSSYS_ID.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.LSSYS_ID.Visible = false; - this.LSSYS_ID.Width = 42; // // rowno // @@ -301,7 +244,6 @@ this.标识器id号.Name = "标识器id号"; this.标识器id号.ReadOnly = true; this.标识器id号.Visible = false; - this.标识器id号.Width = 59; // // 编号 // @@ -463,6 +405,63 @@ this.btnDel.UseColumnTextForButtonValue = true; this.btnDel.Width = 54; // + // bar2 + // + this.bar2.AntiAlias = true; + this.bar2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.lab_page_msg, + this.btn_page_first, + this.btn_page_pre, + this.combo_page_num, + this.btn_page_next, + this.btn_page_last}); + this.bar2.Location = new System.Drawing.Point(0, 437); + this.bar2.Name = "bar2"; + this.bar2.Size = new System.Drawing.Size(966, 28); + this.bar2.Stretch = true; + this.bar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.bar2.TabIndex = 2; + this.bar2.TabStop = false; + this.bar2.Text = "bar2"; + // + // lab_page_msg + // + this.lab_page_msg.Name = "lab_page_msg"; + this.lab_page_msg.PaddingLeft = 100; + this.lab_page_msg.PaddingRight = 10; + // + // btn_page_first + // + this.btn_page_first.Name = "btn_page_first"; + this.btn_page_first.Text = "|<首页"; + this.btn_page_first.Click += new System.EventHandler(this.btn_first_Click); + // + // btn_page_pre + // + this.btn_page_pre.Name = "btn_page_pre"; + this.btn_page_pre.Text = "<上一页"; + this.btn_page_pre.Click += new System.EventHandler(this.btn_pre_Click); + // + // combo_page_num + // + this.combo_page_num.DropDownHeight = 106; + this.combo_page_num.ItemHeight = 17; + this.combo_page_num.Name = "combo_page_num"; + this.combo_page_num.Click += new System.EventHandler(this.combo_page_Click); + // + // btn_page_next + // + this.btn_page_next.Name = "btn_page_next"; + this.btn_page_next.Text = "下一页>"; + this.btn_page_next.Click += new System.EventHandler(this.btn_nex_Click); + // + // btn_page_last + // + this.btn_page_last.Name = "btn_page_last"; + this.btn_page_last.Text = "末页>|"; + this.btn_page_last.Click += new System.EventHandler(this.btn_last_Click); + // // FrmFlagManager // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); diff --git a/MainFrm.designer.cs b/MainFrm.designer.cs index c1f6355..14c17b2 100644 --- a/MainFrm.designer.cs +++ b/MainFrm.designer.cs @@ -82,6 +82,7 @@ this.sideBar1 = new DevComponents.DotNetBar.SideBar(); this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); this.layerSensorTree = new System.Windows.Forms.TreeView(); + this.layerTree = new Cyberpipe.MyTreeView(); this.sideBarPanelItem3 = new DevComponents.DotNetBar.SideBarPanelItem(); this.controlContainerItem3 = new DevComponents.DotNetBar.ControlContainerItem(); this.sideBarPanelItem4 = new DevComponents.DotNetBar.SideBarPanelItem(); @@ -653,7 +654,6 @@ this.buttonItem84 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem(); - this.layerTree = new Cyberpipe.MyTreeView(); this.statusStrip1.SuspendLayout(); this.sideBar1.SuspendLayout(); this.panelEx3.SuspendLayout(); @@ -832,9 +832,9 @@ this.toolStripStatusLabel4, this.statusLabel, this.toolStripDropDownButton1}); - this.statusStrip1.Location = new System.Drawing.Point(0, 684); + this.statusStrip1.Location = new System.Drawing.Point(0, 685); this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Size = new System.Drawing.Size(1328, 23); + this.statusStrip1.Size = new System.Drawing.Size(1328, 22); this.statusStrip1.SizingGrip = false; this.statusStrip1.TabIndex = 19; this.statusStrip1.Text = "statusStrip1"; @@ -842,12 +842,12 @@ // toolStripStatusLabel4 // this.toolStripStatusLabel4.Name = "toolStripStatusLabel4"; - this.toolStripStatusLabel4.Size = new System.Drawing.Size(0, 18); + this.toolStripStatusLabel4.Size = new System.Drawing.Size(0, 17); // // statusLabel // this.statusLabel.Name = "statusLabel"; - this.statusLabel.Size = new System.Drawing.Size(1237, 18); + this.statusLabel.Size = new System.Drawing.Size(1313, 17); this.statusLabel.Spring = true; this.statusLabel.Text = "©2014-2015 苏州航天系统工程有限公司 版权所有"; // @@ -1059,7 +1059,7 @@ this.sideBar1.Panels.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.sideBarPanelItem3, this.sideBarPanelItem4}); - this.sideBar1.Size = new System.Drawing.Size(176, 505); + this.sideBar1.Size = new System.Drawing.Size(176, 506); this.sideBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.sideBar1.TabIndex = 24; this.sideBar1.Text = "sideBar1"; @@ -1094,6 +1094,16 @@ this.layerSensorTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerMarkerTree_AfterCheck); this.layerSensorTree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.layerMarkerTree_NodeMouseClick); // + // layerTree + // + this.layerTree.CheckBoxes = true; + this.layerTree.ItemHeight = 18; + this.layerTree.Location = new System.Drawing.Point(30, 78); + this.layerTree.Name = "layerTree"; + this.layerTree.Size = new System.Drawing.Size(121, 97); + this.layerTree.TabIndex = 1; + this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck); + // // sideBarPanelItem3 // this.sideBarPanelItem3.FontBold = true; @@ -2848,7 +2858,7 @@ this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter1.Location = new System.Drawing.Point(176, 179); this.expandableSplitter1.Name = "expandableSplitter1"; - this.expandableSplitter1.Size = new System.Drawing.Size(5, 505); + this.expandableSplitter1.Size = new System.Drawing.Size(5, 506); this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter1.TabIndex = 25; this.expandableSplitter1.TabStop = false; @@ -2862,7 +2872,7 @@ this.panelEx4.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx4.Location = new System.Drawing.Point(181, 179); this.panelEx4.Name = "panelEx4"; - this.panelEx4.Size = new System.Drawing.Size(1147, 505); + this.panelEx4.Size = new System.Drawing.Size(1147, 506); this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -3747,7 +3757,7 @@ this.panelOfTable.Controls.Add(this.statusStrip2); this.panelOfTable.Controls.Add(this.expandableSplitter2); this.panelOfTable.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panelOfTable.Location = new System.Drawing.Point(0, 413); + this.panelOfTable.Location = new System.Drawing.Point(0, 414); this.panelOfTable.Name = "panelOfTable"; this.panelOfTable.Size = new System.Drawing.Size(1147, 92); this.panelOfTable.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -7099,16 +7109,6 @@ this.buttonItem76.SubItemsExpandWidth = 14; this.buttonItem76.Text = "坐标标注"; // - // layerTree - // - this.layerTree.CheckBoxes = true; - this.layerTree.ItemHeight = 18; - this.layerTree.Location = new System.Drawing.Point(30, 78); - this.layerTree.Name = "layerTree"; - this.layerTree.Size = new System.Drawing.Size(121, 97); - this.layerTree.TabIndex = 1; - this.layerTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.layerTree_AfterCheck); - // // MainFrm // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;