SercherOnGX.cs 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. using SuperMap.Data;
  2. using SuperMap.Mapping;
  3. using SuperMap.UI;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Data;
  7. using System.Drawing;
  8. using WeifenLuo.WinFormsUI.Docking;
  9. using WWPipeLine.MapBasic.Conditions;
  10. using WWPipeLine.MapBasic;
  11. using System.Text;
  12. using System.Windows.Forms;
  13. namespace WWPipeLine.MapTools.Conditions.Sercher
  14. {
  15. public class SercherOnGX : ConditionPanel
  16. {
  17. public SercherOnGX() : base()
  18. {
  19. this.ConditionPanelName = "按照管线组合查询";
  20. this.SetSize(635, 500);
  21. InitializeComponent();
  22. }
  23. private System.Windows.Forms.GroupBox groupBox1;
  24. private System.Windows.Forms.CheckedListBox clbzms;
  25. private System.Windows.Forms.GroupBox groupBox2;
  26. private System.Windows.Forms.GroupBox groupBox3;
  27. private Sunny.UI.UIButton uiButton1;
  28. private Sunny.UI.UIButton uiButton2;
  29. private Sunny.UI.UIButton uiButton3;
  30. private Sunny.UI.UIButton uiButton6;
  31. private Sunny.UI.UIButton uiButton5;
  32. private Sunny.UI.UIButton uiButton4;
  33. private Sunny.UI.UIButton uiButton9;
  34. private Sunny.UI.UIButton uiButton8;
  35. private Sunny.UI.UIButton uiButton7;
  36. private CheckedListBox clbgj;
  37. private GroupBox groupBoxLayer;
  38. private Sunny.UI.UILabel uiLabel1;
  39. private Sunny.UI.UIRadioButton uirbtView;
  40. private Sunny.UI.UIRadioButton uirbtZdy;
  41. private Sunny.UI.UIRadioButton uirbtAll;
  42. private System.Windows.Forms.CheckedListBox clbCZ;
  43. protected override void OnLoad(EventArgs e)
  44. {
  45. ComsStatic.BindDataTableOnCheckedListBox(ComsStatic.gsGuanXian, clbgj, "gj");
  46. ComsStatic.BindDataTableOnCheckedListBox(ComsStatic.gsGuanXian, clbCZ, "cz");
  47. ComsStatic.BindDataTableOnCheckedListBox(ComsStatic.gsGuanXian, clbzms, "dzms");
  48. }
  49. public override object Do(DockPanel dockPanel = null)
  50. {
  51. Dictionary<string, CheckedListBox> dic = new Dictionary<string, CheckedListBox>();
  52. dic.Add("gj", clbgj); dic.Add("dzms", clbzms); dic.Add("cz", clbCZ);
  53. string sqlWhere = ComsStatic.getSqlCheckListBox(dic, " enabled=1 ");
  54. QueryParameter queryParameter = new QueryParameter
  55. {
  56. AttributeFilter = sqlWhere,
  57. ResultFields = ComsStatic.resultFieldsGX,
  58. CursorType = CursorType.Static
  59. };
  60. if (uirbtAll.Checked)
  61. {
  62. }
  63. if (uirbtView.Checked)
  64. {
  65. queryParameter.SpatialQueryMode = SpatialQueryMode.Contain;
  66. queryParameter.SpatialQueryObject = MapControl.Map.ViewBounds;
  67. }
  68. if (uirbtZdy.Checked)
  69. {
  70. int index = MapControl.Map.TrackingLayer.IndexOf(ComsStatic.ControlToolsTrackingName);
  71. if (index == -1)
  72. {
  73. Sunny.UI.UIMessageTip.ShowError("请先绘制区域"); return false;
  74. }
  75. GeoRegion geo = MapControl.Map.TrackingLayer.Get(index) as GeoRegion;
  76. queryParameter.SpatialQueryMode = SpatialQueryMode.Contain;
  77. queryParameter.SpatialQueryObject = geo;
  78. }
  79. return ComsStatic.RecordsetToDataTable(ComsStatic.gsGuanXian.Query(queryParameter));
  80. }
  81. #region 界面布局
  82. private void InitializeComponent()
  83. {
  84. this.groupBox1 = new System.Windows.Forms.GroupBox();
  85. this.uiButton7 = new Sunny.UI.UIButton();
  86. this.clbzms = new System.Windows.Forms.CheckedListBox();
  87. this.uiButton8 = new Sunny.UI.UIButton();
  88. this.uiButton9 = new Sunny.UI.UIButton();
  89. this.groupBox2 = new System.Windows.Forms.GroupBox();
  90. this.clbCZ = new System.Windows.Forms.CheckedListBox();
  91. this.uiButton1 = new Sunny.UI.UIButton();
  92. this.uiButton2 = new Sunny.UI.UIButton();
  93. this.uiButton3 = new Sunny.UI.UIButton();
  94. this.groupBox3 = new System.Windows.Forms.GroupBox();
  95. this.clbgj = new System.Windows.Forms.CheckedListBox();
  96. this.uiButton6 = new Sunny.UI.UIButton();
  97. this.uiButton5 = new Sunny.UI.UIButton();
  98. this.uiButton4 = new Sunny.UI.UIButton();
  99. this.groupBoxLayer = new System.Windows.Forms.GroupBox();
  100. this.uiLabel1 = new Sunny.UI.UILabel();
  101. this.uirbtView = new Sunny.UI.UIRadioButton();
  102. this.uirbtZdy = new Sunny.UI.UIRadioButton();
  103. this.uirbtAll = new Sunny.UI.UIRadioButton();
  104. this.groupBox1.SuspendLayout();
  105. this.groupBox2.SuspendLayout();
  106. this.groupBox3.SuspendLayout();
  107. this.groupBoxLayer.SuspendLayout();
  108. this.SuspendLayout();
  109. //
  110. // groupBox1
  111. //
  112. this.groupBox1.Controls.Add(this.uiButton7);
  113. this.groupBox1.Controls.Add(this.clbzms);
  114. this.groupBox1.Controls.Add(this.uiButton8);
  115. this.groupBox1.Controls.Add(this.uiButton9);
  116. this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
  117. this.groupBox1.Location = new System.Drawing.Point(474, 0);
  118. this.groupBox1.Name = "groupBox1";
  119. this.groupBox1.Size = new System.Drawing.Size(158, 415);
  120. this.groupBox1.TabIndex = 13;
  121. this.groupBox1.TabStop = false;
  122. this.groupBox1.Text = "地址描述";
  123. this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter);
  124. //
  125. // uiButton7
  126. //
  127. this.uiButton7.Cursor = System.Windows.Forms.Cursors.Hand;
  128. this.uiButton7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  129. this.uiButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  130. this.uiButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  131. this.uiButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  132. this.uiButton7.Font = new System.Drawing.Font("微软雅黑", 12F);
  133. this.uiButton7.Location = new System.Drawing.Point(102, 379);
  134. this.uiButton7.MinimumSize = new System.Drawing.Size(1, 1);
  135. this.uiButton7.Name = "uiButton7";
  136. this.uiButton7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  137. this.uiButton7.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  138. this.uiButton7.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  139. this.uiButton7.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  140. this.uiButton7.Size = new System.Drawing.Size(40, 30);
  141. this.uiButton7.Style = Sunny.UI.UIStyle.Gray;
  142. this.uiButton7.TabIndex = 24;
  143. this.uiButton7.Text = "清空";
  144. this.uiButton7.Click += new System.EventHandler(this.uiButton7_Click);
  145. //
  146. // clbzms
  147. //
  148. this.clbzms.CheckOnClick = true;
  149. this.clbzms.Dock = System.Windows.Forms.DockStyle.Top;
  150. this.clbzms.Location = new System.Drawing.Point(3, 25);
  151. this.clbzms.Name = "clbzms";
  152. this.clbzms.Size = new System.Drawing.Size(152, 340);
  153. this.clbzms.TabIndex = 0;
  154. //
  155. // uiButton8
  156. //
  157. this.uiButton8.Cursor = System.Windows.Forms.Cursors.Hand;
  158. this.uiButton8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  159. this.uiButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  160. this.uiButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  161. this.uiButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  162. this.uiButton8.Font = new System.Drawing.Font("微软雅黑", 12F);
  163. this.uiButton8.Location = new System.Drawing.Point(56, 379);
  164. this.uiButton8.MinimumSize = new System.Drawing.Size(1, 1);
  165. this.uiButton8.Name = "uiButton8";
  166. this.uiButton8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  167. this.uiButton8.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  168. this.uiButton8.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  169. this.uiButton8.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  170. this.uiButton8.Size = new System.Drawing.Size(40, 30);
  171. this.uiButton8.Style = Sunny.UI.UIStyle.Gray;
  172. this.uiButton8.TabIndex = 23;
  173. this.uiButton8.Text = "反选";
  174. this.uiButton8.Click += new System.EventHandler(this.uiButton8_Click);
  175. //
  176. // uiButton9
  177. //
  178. this.uiButton9.Cursor = System.Windows.Forms.Cursors.Hand;
  179. this.uiButton9.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  180. this.uiButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  181. this.uiButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  182. this.uiButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  183. this.uiButton9.Font = new System.Drawing.Font("微软雅黑", 12F);
  184. this.uiButton9.Location = new System.Drawing.Point(6, 379);
  185. this.uiButton9.MinimumSize = new System.Drawing.Size(1, 1);
  186. this.uiButton9.Name = "uiButton9";
  187. this.uiButton9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  188. this.uiButton9.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  189. this.uiButton9.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  190. this.uiButton9.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  191. this.uiButton9.Size = new System.Drawing.Size(40, 30);
  192. this.uiButton9.Style = Sunny.UI.UIStyle.Gray;
  193. this.uiButton9.TabIndex = 22;
  194. this.uiButton9.Text = "全选";
  195. this.uiButton9.Click += new System.EventHandler(this.uiButton9_Click);
  196. //
  197. // groupBox2
  198. //
  199. this.groupBox2.Controls.Add(this.clbCZ);
  200. this.groupBox2.Controls.Add(this.uiButton1);
  201. this.groupBox2.Controls.Add(this.uiButton2);
  202. this.groupBox2.Controls.Add(this.uiButton3);
  203. this.groupBox2.Dock = System.Windows.Forms.DockStyle.Left;
  204. this.groupBox2.Location = new System.Drawing.Point(158, 0);
  205. this.groupBox2.Name = "groupBox2";
  206. this.groupBox2.Size = new System.Drawing.Size(158, 415);
  207. this.groupBox2.TabIndex = 14;
  208. this.groupBox2.TabStop = false;
  209. this.groupBox2.Text = "管线材质";
  210. this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter);
  211. //
  212. // clbCZ
  213. //
  214. this.clbCZ.CheckOnClick = true;
  215. this.clbCZ.Dock = System.Windows.Forms.DockStyle.Top;
  216. this.clbCZ.Location = new System.Drawing.Point(3, 25);
  217. this.clbCZ.Name = "clbCZ";
  218. this.clbCZ.Size = new System.Drawing.Size(152, 340);
  219. this.clbCZ.TabIndex = 0;
  220. //
  221. // uiButton1
  222. //
  223. this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
  224. this.uiButton1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  225. this.uiButton1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  226. this.uiButton1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  227. this.uiButton1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  228. this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
  229. this.uiButton1.Location = new System.Drawing.Point(6, 379);
  230. this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
  231. this.uiButton1.Name = "uiButton1";
  232. this.uiButton1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  233. this.uiButton1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  234. this.uiButton1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  235. this.uiButton1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  236. this.uiButton1.Size = new System.Drawing.Size(40, 30);
  237. this.uiButton1.Style = Sunny.UI.UIStyle.Gray;
  238. this.uiButton1.TabIndex = 16;
  239. this.uiButton1.Text = "全选";
  240. this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
  241. //
  242. // uiButton2
  243. //
  244. this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
  245. this.uiButton2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  246. this.uiButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  247. this.uiButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  248. this.uiButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  249. this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
  250. this.uiButton2.Location = new System.Drawing.Point(54, 379);
  251. this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
  252. this.uiButton2.Name = "uiButton2";
  253. this.uiButton2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  254. this.uiButton2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  255. this.uiButton2.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  256. this.uiButton2.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  257. this.uiButton2.Size = new System.Drawing.Size(40, 30);
  258. this.uiButton2.Style = Sunny.UI.UIStyle.Gray;
  259. this.uiButton2.TabIndex = 17;
  260. this.uiButton2.Text = "反选";
  261. this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
  262. //
  263. // uiButton3
  264. //
  265. this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
  266. this.uiButton3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  267. this.uiButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  268. this.uiButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  269. this.uiButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  270. this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
  271. this.uiButton3.Location = new System.Drawing.Point(103, 379);
  272. this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
  273. this.uiButton3.Name = "uiButton3";
  274. this.uiButton3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  275. this.uiButton3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  276. this.uiButton3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  277. this.uiButton3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  278. this.uiButton3.Size = new System.Drawing.Size(40, 30);
  279. this.uiButton3.Style = Sunny.UI.UIStyle.Gray;
  280. this.uiButton3.TabIndex = 18;
  281. this.uiButton3.Text = "清空";
  282. this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
  283. //
  284. // groupBox3
  285. //
  286. this.groupBox3.Controls.Add(this.clbgj);
  287. this.groupBox3.Controls.Add(this.uiButton6);
  288. this.groupBox3.Controls.Add(this.uiButton5);
  289. this.groupBox3.Controls.Add(this.uiButton4);
  290. this.groupBox3.Dock = System.Windows.Forms.DockStyle.Left;
  291. this.groupBox3.Location = new System.Drawing.Point(316, 0);
  292. this.groupBox3.Name = "groupBox3";
  293. this.groupBox3.Size = new System.Drawing.Size(158, 415);
  294. this.groupBox3.TabIndex = 15;
  295. this.groupBox3.TabStop = false;
  296. this.groupBox3.Text = "管线管径";
  297. this.groupBox3.Enter += new System.EventHandler(this.groupBox3_Enter);
  298. //
  299. // clbgj
  300. //
  301. this.clbgj.CheckOnClick = true;
  302. this.clbgj.Dock = System.Windows.Forms.DockStyle.Top;
  303. this.clbgj.Location = new System.Drawing.Point(3, 25);
  304. this.clbgj.Name = "clbgj";
  305. this.clbgj.Size = new System.Drawing.Size(152, 340);
  306. this.clbgj.TabIndex = 1;
  307. //
  308. // uiButton6
  309. //
  310. this.uiButton6.Cursor = System.Windows.Forms.Cursors.Hand;
  311. this.uiButton6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  312. this.uiButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  313. this.uiButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  314. this.uiButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  315. this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
  316. this.uiButton6.Location = new System.Drawing.Point(6, 379);
  317. this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1);
  318. this.uiButton6.Name = "uiButton6";
  319. this.uiButton6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  320. this.uiButton6.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  321. this.uiButton6.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  322. this.uiButton6.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  323. this.uiButton6.Size = new System.Drawing.Size(40, 30);
  324. this.uiButton6.Style = Sunny.UI.UIStyle.Gray;
  325. this.uiButton6.TabIndex = 19;
  326. this.uiButton6.Text = "全选";
  327. this.uiButton6.Click += new System.EventHandler(this.uiButton6_Click);
  328. //
  329. // uiButton5
  330. //
  331. this.uiButton5.Cursor = System.Windows.Forms.Cursors.Hand;
  332. this.uiButton5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  333. this.uiButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  334. this.uiButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  335. this.uiButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  336. this.uiButton5.Font = new System.Drawing.Font("微软雅黑", 12F);
  337. this.uiButton5.Location = new System.Drawing.Point(56, 379);
  338. this.uiButton5.MinimumSize = new System.Drawing.Size(1, 1);
  339. this.uiButton5.Name = "uiButton5";
  340. this.uiButton5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  341. this.uiButton5.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  342. this.uiButton5.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  343. this.uiButton5.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  344. this.uiButton5.Size = new System.Drawing.Size(40, 30);
  345. this.uiButton5.Style = Sunny.UI.UIStyle.Gray;
  346. this.uiButton5.TabIndex = 20;
  347. this.uiButton5.Text = "反选";
  348. this.uiButton5.Click += new System.EventHandler(this.uiButton5_Click);
  349. //
  350. // uiButton4
  351. //
  352. this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
  353. this.uiButton4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  354. this.uiButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  355. this.uiButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  356. this.uiButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  357. this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
  358. this.uiButton4.Location = new System.Drawing.Point(104, 379);
  359. this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
  360. this.uiButton4.Name = "uiButton4";
  361. this.uiButton4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  362. this.uiButton4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  363. this.uiButton4.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  364. this.uiButton4.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  365. this.uiButton4.Size = new System.Drawing.Size(40, 30);
  366. this.uiButton4.Style = Sunny.UI.UIStyle.Gray;
  367. this.uiButton4.TabIndex = 21;
  368. this.uiButton4.Text = "清空";
  369. this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click);
  370. //
  371. // groupBoxLayer
  372. //
  373. this.groupBoxLayer.Controls.Add(this.uiLabel1);
  374. this.groupBoxLayer.Controls.Add(this.uirbtView);
  375. this.groupBoxLayer.Controls.Add(this.uirbtZdy);
  376. this.groupBoxLayer.Controls.Add(this.uirbtAll);
  377. this.groupBoxLayer.Dock = System.Windows.Forms.DockStyle.Left;
  378. this.groupBoxLayer.Location = new System.Drawing.Point(0, 0);
  379. this.groupBoxLayer.Name = "groupBoxLayer";
  380. this.groupBoxLayer.Size = new System.Drawing.Size(158, 415);
  381. this.groupBoxLayer.TabIndex = 26;
  382. this.groupBoxLayer.TabStop = false;
  383. //
  384. // uiLabel1
  385. //
  386. this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
  387. this.uiLabel1.Location = new System.Drawing.Point(3, 56);
  388. this.uiLabel1.Name = "uiLabel1";
  389. this.uiLabel1.Size = new System.Drawing.Size(138, 23);
  390. this.uiLabel1.Style = Sunny.UI.UIStyle.Gray;
  391. this.uiLabel1.TabIndex = 10;
  392. this.uiLabel1.Text = "查询范围:";
  393. this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  394. //
  395. // uirbtView
  396. //
  397. this.uirbtView.Cursor = System.Windows.Forms.Cursors.Hand;
  398. this.uirbtView.Font = new System.Drawing.Font("微软雅黑", 12F);
  399. this.uirbtView.Location = new System.Drawing.Point(17, 117);
  400. this.uirbtView.MinimumSize = new System.Drawing.Size(1, 1);
  401. this.uirbtView.Name = "uirbtView";
  402. this.uirbtView.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
  403. this.uirbtView.RadioButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  404. this.uirbtView.Size = new System.Drawing.Size(117, 29);
  405. this.uirbtView.Style = Sunny.UI.UIStyle.Gray;
  406. this.uirbtView.TabIndex = 9;
  407. this.uirbtView.Text = "当前视图";
  408. //
  409. // uirbtZdy
  410. //
  411. this.uirbtZdy.Cursor = System.Windows.Forms.Cursors.Hand;
  412. this.uirbtZdy.Font = new System.Drawing.Font("微软雅黑", 12F);
  413. this.uirbtZdy.Location = new System.Drawing.Point(17, 152);
  414. this.uirbtZdy.MinimumSize = new System.Drawing.Size(1, 1);
  415. this.uirbtZdy.Name = "uirbtZdy";
  416. this.uirbtZdy.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
  417. this.uirbtZdy.RadioButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  418. this.uirbtZdy.Size = new System.Drawing.Size(117, 29);
  419. this.uirbtZdy.Style = Sunny.UI.UIStyle.Gray;
  420. this.uirbtZdy.TabIndex = 8;
  421. this.uirbtZdy.Text = "自定义范围";
  422. //
  423. // uirbtAll
  424. //
  425. this.uirbtAll.Checked = true;
  426. this.uirbtAll.Cursor = System.Windows.Forms.Cursors.Hand;
  427. this.uirbtAll.Font = new System.Drawing.Font("微软雅黑", 12F);
  428. this.uirbtAll.Location = new System.Drawing.Point(17, 82);
  429. this.uirbtAll.MinimumSize = new System.Drawing.Size(1, 1);
  430. this.uirbtAll.Name = "uirbtAll";
  431. this.uirbtAll.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0);
  432. this.uirbtAll.RadioButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  433. this.uirbtAll.Size = new System.Drawing.Size(117, 29);
  434. this.uirbtAll.Style = Sunny.UI.UIStyle.Gray;
  435. this.uirbtAll.TabIndex = 7;
  436. this.uirbtAll.Text = "全部数据";
  437. //
  438. // SercherOnGX
  439. //
  440. this.Controls.Add(this.groupBox1);
  441. this.Controls.Add(this.groupBox3);
  442. this.Controls.Add(this.groupBox2);
  443. this.Controls.Add(this.groupBoxLayer);
  444. this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(244)))));
  445. this.Name = "SercherOnGX";
  446. this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  447. this.Size = new System.Drawing.Size(635, 415);
  448. this.Style = Sunny.UI.UIStyle.Gray;
  449. this.groupBox1.ResumeLayout(false);
  450. this.groupBox2.ResumeLayout(false);
  451. this.groupBox3.ResumeLayout(false);
  452. this.groupBoxLayer.ResumeLayout(false);
  453. this.ResumeLayout(false);
  454. }
  455. #endregion
  456. private void uiButton3_Click(object sender, EventArgs e)//清空
  457. {
  458. ComsStatic.CheckListBoxDo(clbCZ, 3);
  459. }
  460. private void uiButton2_Click(object sender, EventArgs e)//反选
  461. {
  462. ComsStatic.CheckListBoxDo(clbCZ, 2);
  463. }
  464. private void uiButton1_Click(object sender, EventArgs e)//全选
  465. {
  466. ComsStatic.CheckListBoxDo(clbCZ, 1);
  467. }
  468. private void uiButton4_Click(object sender, EventArgs e)
  469. {
  470. ComsStatic.CheckListBoxDo(clbgj, 3);
  471. }
  472. private void uiButton5_Click(object sender, EventArgs e)
  473. {
  474. ComsStatic.CheckListBoxDo(clbgj, 2);
  475. }
  476. private void uiButton6_Click(object sender, EventArgs e)
  477. {
  478. ComsStatic.CheckListBoxDo(clbgj, 1);
  479. }
  480. private void uiButton9_Click(object sender, EventArgs e)
  481. {
  482. ComsStatic.CheckListBoxDo(clbzms, 1);
  483. }
  484. private void uiButton8_Click(object sender, EventArgs e)
  485. {
  486. ComsStatic.CheckListBoxDo(clbzms, 2);
  487. }
  488. private void uiButton7_Click(object sender, EventArgs e)
  489. {
  490. ComsStatic.CheckListBoxDo(clbzms, 3);
  491. }
  492. private void groupBox2_Enter(object sender, EventArgs e)
  493. {
  494. }
  495. private void groupBox3_Enter(object sender, EventArgs e)
  496. {
  497. }
  498. private void groupBox1_Enter(object sender, EventArgs e)
  499. {
  500. }
  501. }
  502. }