using SuperMap.Data; using SuperMap.Mapping; using SuperMap.UI; using System; using System.Collections.Generic; using System.Data; using System.Drawing; using WeifenLuo.WinFormsUI.Docking; using WWPipeLine.MapBasic.Conditions; using WWPipeLine.MapBasic; using Sunny.UI; using System.Windows.Forms; using System.Text; namespace WWPipeLine.MapTools.Conditions.Sercher { public class SercherOnGD : ConditionPanel { public SercherOnGD() : base() { this.ConditionPanelName = "按照管点组合查询"; this.SetSize(800, 585); InitializeComponent(); } private GroupBox groupBoxgg; private CheckedListBox ckgg; private GroupBox groupBoxfsw; private GroupBox groupBoxtz; private CheckedListBox cltz; private Sunny.UI.UIButton uiButton1; private Sunny.UI.UIButton uiButton2; private Sunny.UI.UIButton uiButton3; private Sunny.UI.UIButton uiButton6; private Sunny.UI.UIButton uiButton5; private Sunny.UI.UIButton uiButton4; private Sunny.UI.UIButton uiButton9; private Sunny.UI.UIButton uiButton8; private Sunny.UI.UIButton uiButton7; private GroupBox groupBoxLayer; private CheckedListBox clbfsw; private UIButton uiButton10; private LayerWithDataListPanel LayerPanel; DatasetVector dv = null; protected override void OnLoad(EventArgs e) { LayerPanel = new LayerWithDataListPanel(); LayerPanel.LoadToVector(false, false); groupBoxLayer.Controls.Add(LayerPanel); } public override object Do(DockPanel dockPanel = null) { if (dv is null) { Sunny.UI.UIMessageTip.ShowError("请先选择需要查询的管点类型,并点击获取管点信息"); return false; } StringBuilder sb = new StringBuilder(); sb.Append("1=1"); sb.Append(ComsStatic.getSqlCheckListBox(clbfsw, "fsw")); sb.Append(ComsStatic.getSqlCheckListBox(cltz, "tz")); sb.Append(ComsStatic.getSqlCheckListBox(ckgg, "gg")); return ComsStatic.QueryDataTable(dv, sb.ToString(), new string[] { "fsw", "tz", "gg", "cz", "qsdw" }); } private void uiButton10_Click(object sender, EventArgs e) { if (LayerPanel.SelectLayers.Count != 1) { Sunny.UI.UIMessageTip.ShowError("请先选择需要统计的图层"); return; } dv = LayerPanel.SelectLayers[0].Dataset as DatasetVector; ComsStatic.BindDataTableOnCheckedListBox(dv, cltz, "tz"); ComsStatic.BindDataTableOnCheckedListBox(dv, clbfsw, "fsw"); ComsStatic.BindDataTableOnCheckedListBox(dv, ckgg, "gg"); } #region 界面布局 private void InitializeComponent() { this.groupBoxgg = new System.Windows.Forms.GroupBox(); this.ckgg = new System.Windows.Forms.CheckedListBox(); this.groupBoxfsw = new System.Windows.Forms.GroupBox(); this.clbfsw = new System.Windows.Forms.CheckedListBox(); this.groupBoxtz = new System.Windows.Forms.GroupBox(); this.cltz = new System.Windows.Forms.CheckedListBox(); this.uiButton1 = new Sunny.UI.UIButton(); this.uiButton2 = new Sunny.UI.UIButton(); this.uiButton3 = new Sunny.UI.UIButton(); this.uiButton6 = new Sunny.UI.UIButton(); this.uiButton5 = new Sunny.UI.UIButton(); this.uiButton4 = new Sunny.UI.UIButton(); this.uiButton9 = new Sunny.UI.UIButton(); this.uiButton8 = new Sunny.UI.UIButton(); this.uiButton7 = new Sunny.UI.UIButton(); this.groupBoxLayer = new System.Windows.Forms.GroupBox(); this.uiButton10 = new Sunny.UI.UIButton(); this.groupBoxgg.SuspendLayout(); this.groupBoxfsw.SuspendLayout(); this.groupBoxtz.SuspendLayout(); this.groupBoxLayer.SuspendLayout(); this.SuspendLayout(); // // groupBoxgg // this.groupBoxgg.Controls.Add(this.ckgg); this.groupBoxgg.Location = new System.Drawing.Point(598, 6); this.groupBoxgg.Name = "groupBoxgg"; this.groupBoxgg.Size = new System.Drawing.Size(200, 419); this.groupBoxgg.TabIndex = 13; this.groupBoxgg.TabStop = false; this.groupBoxgg.Text = "规格"; // // ckgg // this.ckgg.Dock = System.Windows.Forms.DockStyle.Fill; this.ckgg.Location = new System.Drawing.Point(3, 25); this.ckgg.Name = "ckgg"; this.ckgg.Size = new System.Drawing.Size(194, 391); this.ckgg.TabIndex = 0; // // groupBoxfsw // this.groupBoxfsw.Controls.Add(this.clbfsw); this.groupBoxfsw.Location = new System.Drawing.Point(173, 6); this.groupBoxfsw.Name = "groupBoxfsw"; this.groupBoxfsw.Size = new System.Drawing.Size(200, 419); this.groupBoxfsw.TabIndex = 14; this.groupBoxfsw.TabStop = false; this.groupBoxfsw.Text = "附属物"; // // clbfsw // this.clbfsw.Dock = System.Windows.Forms.DockStyle.Fill; this.clbfsw.Location = new System.Drawing.Point(3, 25); this.clbfsw.Name = "clbfsw"; this.clbfsw.Size = new System.Drawing.Size(194, 391); this.clbfsw.TabIndex = 0; // // groupBoxtz // this.groupBoxtz.Controls.Add(this.cltz); this.groupBoxtz.Location = new System.Drawing.Point(386, 6); this.groupBoxtz.Name = "groupBoxtz"; this.groupBoxtz.Size = new System.Drawing.Size(200, 419); this.groupBoxtz.TabIndex = 15; this.groupBoxtz.TabStop = false; this.groupBoxtz.Text = "特征"; // // cltz // this.cltz.Dock = System.Windows.Forms.DockStyle.Fill; this.cltz.Location = new System.Drawing.Point(3, 25); this.cltz.Name = "cltz"; this.cltz.Size = new System.Drawing.Size(194, 391); this.cltz.TabIndex = 1; // // uiButton1 // this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton1.Location = new System.Drawing.Point(178, 428); this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton1.Name = "uiButton1"; this.uiButton1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton1.Size = new System.Drawing.Size(51, 35); this.uiButton1.Style = Sunny.UI.UIStyle.Gray; this.uiButton1.TabIndex = 16; this.uiButton1.Text = "全选"; this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click); // // uiButton2 // this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton2.Location = new System.Drawing.Point(240, 428); this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton2.Name = "uiButton2"; this.uiButton2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton2.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton2.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton2.Size = new System.Drawing.Size(51, 35); this.uiButton2.Style = Sunny.UI.UIStyle.Gray; this.uiButton2.TabIndex = 17; this.uiButton2.Text = "反选"; this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click); // // uiButton3 // this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton3.Location = new System.Drawing.Point(302, 428); this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton3.Name = "uiButton3"; this.uiButton3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton3.Size = new System.Drawing.Size(51, 35); this.uiButton3.Style = Sunny.UI.UIStyle.Gray; this.uiButton3.TabIndex = 18; this.uiButton3.Text = "清空"; this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click); // // uiButton6 // this.uiButton6.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton6.Location = new System.Drawing.Point(404, 424); this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton6.Name = "uiButton6"; this.uiButton6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton6.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton6.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton6.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton6.Size = new System.Drawing.Size(51, 35); this.uiButton6.Style = Sunny.UI.UIStyle.Gray; this.uiButton6.TabIndex = 19; this.uiButton6.Text = "全选"; this.uiButton6.Click += new System.EventHandler(this.uiButton6_Click); // // uiButton5 // this.uiButton5.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton5.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton5.Location = new System.Drawing.Point(466, 424); this.uiButton5.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton5.Name = "uiButton5"; this.uiButton5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton5.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton5.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton5.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton5.Size = new System.Drawing.Size(51, 35); this.uiButton5.Style = Sunny.UI.UIStyle.Gray; this.uiButton5.TabIndex = 20; this.uiButton5.Text = "反选"; this.uiButton5.Click += new System.EventHandler(this.uiButton5_Click); // // uiButton4 // this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton4.Location = new System.Drawing.Point(528, 424); this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton4.Name = "uiButton4"; this.uiButton4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton4.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton4.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton4.Size = new System.Drawing.Size(51, 35); this.uiButton4.Style = Sunny.UI.UIStyle.Gray; this.uiButton4.TabIndex = 21; this.uiButton4.Text = "清空"; this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click); // // uiButton9 // this.uiButton9.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton9.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton9.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton9.Location = new System.Drawing.Point(616, 424); this.uiButton9.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton9.Name = "uiButton9"; this.uiButton9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton9.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton9.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton9.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton9.Size = new System.Drawing.Size(51, 35); this.uiButton9.Style = Sunny.UI.UIStyle.Gray; this.uiButton9.TabIndex = 22; this.uiButton9.Text = "全选"; this.uiButton9.Click += new System.EventHandler(this.uiButton9_Click); // // uiButton8 // this.uiButton8.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton8.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton8.Location = new System.Drawing.Point(678, 424); this.uiButton8.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton8.Name = "uiButton8"; this.uiButton8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton8.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton8.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton8.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton8.Size = new System.Drawing.Size(51, 35); this.uiButton8.Style = Sunny.UI.UIStyle.Gray; this.uiButton8.TabIndex = 23; this.uiButton8.Text = "反选"; this.uiButton8.Click += new System.EventHandler(this.uiButton8_Click); // // uiButton7 // this.uiButton7.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton7.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton7.Location = new System.Drawing.Point(740, 424); this.uiButton7.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton7.Name = "uiButton7"; this.uiButton7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton7.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton7.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton7.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton7.Size = new System.Drawing.Size(51, 35); this.uiButton7.Style = Sunny.UI.UIStyle.Gray; this.uiButton7.TabIndex = 24; this.uiButton7.Text = "清空"; this.uiButton7.Click += new System.EventHandler(this.uiButton7_Click); // // groupBoxLayer // this.groupBoxLayer.Controls.Add(this.uiButton10); this.groupBoxLayer.Location = new System.Drawing.Point(3, 6); this.groupBoxLayer.Name = "groupBoxLayer"; this.groupBoxLayer.Size = new System.Drawing.Size(164, 419); this.groupBoxLayer.TabIndex = 25; this.groupBoxLayer.TabStop = false; this.groupBoxLayer.Text = "管点类型"; // // uiButton10 // this.uiButton10.Cursor = System.Windows.Forms.Cursors.Hand; this.uiButton10.Dock = System.Windows.Forms.DockStyle.Bottom; this.uiButton10.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton10.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton10.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton10.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton10.Font = new System.Drawing.Font("微软雅黑", 12F); this.uiButton10.Location = new System.Drawing.Point(3, 381); this.uiButton10.MinimumSize = new System.Drawing.Size(1, 1); this.uiButton10.Name = "uiButton10"; this.uiButton10.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.uiButton10.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165))))); this.uiButton10.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton10.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129))))); this.uiButton10.Size = new System.Drawing.Size(158, 35); this.uiButton10.Style = Sunny.UI.UIStyle.Gray; this.uiButton10.TabIndex = 0; this.uiButton10.Text = "获取管点信息"; this.uiButton10.Click += new System.EventHandler(this.uiButton10_Click); // // SercherOnGD // this.Controls.Add(this.groupBoxLayer); this.Controls.Add(this.uiButton7); this.Controls.Add(this.uiButton8); this.Controls.Add(this.uiButton9); this.Controls.Add(this.uiButton4); this.Controls.Add(this.uiButton5); this.Controls.Add(this.uiButton6); this.Controls.Add(this.uiButton3); this.Controls.Add(this.uiButton2); this.Controls.Add(this.uiButton1); this.Controls.Add(this.groupBoxfsw); this.Controls.Add(this.groupBoxtz); this.Controls.Add(this.groupBoxgg); this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(244))))); this.Name = "SercherOnGD"; this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140))))); this.Size = new System.Drawing.Size(810, 492); this.Style = Sunny.UI.UIStyle.Gray; this.groupBoxgg.ResumeLayout(false); this.groupBoxfsw.ResumeLayout(false); this.groupBoxtz.ResumeLayout(false); this.groupBoxLayer.ResumeLayout(false); this.ResumeLayout(false); } #endregion private void uiButton3_Click(object sender, EventArgs e)//清空 { ComsStatic.CheckListBoxDo(clbfsw, 3); } private void uiButton2_Click(object sender, EventArgs e)//反选 { ComsStatic.CheckListBoxDo(clbfsw, 2); } private void uiButton1_Click(object sender, EventArgs e)//全选 { ComsStatic.CheckListBoxDo(clbfsw, 1); } private void uiButton4_Click(object sender, EventArgs e) { ComsStatic.CheckListBoxDo(cltz, 3); } private void uiButton5_Click(object sender, EventArgs e) { ComsStatic.CheckListBoxDo(cltz, 2); } private void uiButton6_Click(object sender, EventArgs e) { ComsStatic.CheckListBoxDo(cltz, 1); } private void uiButton9_Click(object sender, EventArgs e) { ComsStatic.CheckListBoxDo(ckgg, 1); } private void uiButton8_Click(object sender, EventArgs e) { ComsStatic.CheckListBoxDo(ckgg, 2); } private void uiButton7_Click(object sender, EventArgs e) { ComsStatic.CheckListBoxDo(ckgg, 3); } } }