SercherOnGX.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  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. namespace WWPipeLine.MapTools.Conditions.Sercher
  13. {
  14. public class SercherOnGX : ConditionPanel
  15. {
  16. public SercherOnGX() : base()
  17. {
  18. this.ConditionPanelName = "按照管线组合查询";
  19. this.SetSize(800, 585);
  20. InitializeComponent();
  21. }
  22. private System.Windows.Forms.GroupBox groupBox1;
  23. private System.Windows.Forms.CheckedListBox ckdzms;
  24. private System.Windows.Forms.GroupBox groupBox2;
  25. private System.Windows.Forms.GroupBox groupBox3;
  26. private System.Windows.Forms.CheckedListBox clbgj;
  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 System.Windows.Forms.CheckedListBox clbCZ;
  37. protected override void OnLoad(EventArgs e)
  38. {
  39. if (!ComsStatic.HasField(ComsStatic.dvJSLK, "cz") || !ComsStatic.HasField(ComsStatic.dvJSLK, "dzms") || !ComsStatic.HasField(ComsStatic.dvJSLK, "gj"))
  40. {
  41. Sunny.UI.UIMessageTip.ShowError("当前矢量数据集缺少查询信息");
  42. this.ParentForm.Close();
  43. return;
  44. }
  45. ComsStatic.BindDataTableOnCheckedListBox(ComsStatic.dvJSLK, clbgj, "gj");
  46. ComsStatic.BindDataTableOnCheckedListBox(ComsStatic.dvJSLK, clbCZ, "cz");
  47. ComsStatic.BindDataTableOnCheckedListBox(ComsStatic.dvJSLK, ckdzms, "dzms");
  48. }
  49. public override object Do(DockPanel dockPanel = null)
  50. {
  51. StringBuilder sb = new StringBuilder(); sb.Append("1=1");
  52. sb.Append(ComsStatic.getSqlCheckListBox(clbCZ, "cz"));
  53. sb.Append(ComsStatic.getSqlCheckListBox(clbgj, "gj"));
  54. sb.Append(ComsStatic.getSqlCheckListBox(ckdzms, "dzms"));
  55. return ComsStatic.QueryDataTable(ComsStatic.dvJSLK, sb.ToString(), new string[] { "cz", "gj", "cd", "dzms", "qsdw" });
  56. }
  57. #region 界面布局
  58. private void InitializeComponent()
  59. {
  60. this.groupBox1 = new System.Windows.Forms.GroupBox();
  61. this.ckdzms = new System.Windows.Forms.CheckedListBox();
  62. this.groupBox2 = new System.Windows.Forms.GroupBox();
  63. this.clbCZ = new System.Windows.Forms.CheckedListBox();
  64. this.groupBox3 = new System.Windows.Forms.GroupBox();
  65. this.clbgj = new System.Windows.Forms.CheckedListBox();
  66. this.uiButton1 = new Sunny.UI.UIButton();
  67. this.uiButton2 = new Sunny.UI.UIButton();
  68. this.uiButton3 = new Sunny.UI.UIButton();
  69. this.uiButton6 = new Sunny.UI.UIButton();
  70. this.uiButton5 = new Sunny.UI.UIButton();
  71. this.uiButton4 = new Sunny.UI.UIButton();
  72. this.uiButton9 = new Sunny.UI.UIButton();
  73. this.uiButton8 = new Sunny.UI.UIButton();
  74. this.uiButton7 = new Sunny.UI.UIButton();
  75. this.groupBox1.SuspendLayout();
  76. this.groupBox2.SuspendLayout();
  77. this.groupBox3.SuspendLayout();
  78. this.SuspendLayout();
  79. //
  80. // groupBox1
  81. //
  82. this.groupBox1.Controls.Add(this.ckdzms);
  83. this.groupBox1.Location = new System.Drawing.Point(435, 9);
  84. this.groupBox1.Name = "groupBox1";
  85. this.groupBox1.Size = new System.Drawing.Size(200, 419);
  86. this.groupBox1.TabIndex = 13;
  87. this.groupBox1.TabStop = false;
  88. this.groupBox1.Text = "地址描述";
  89. //
  90. // ckdzms
  91. //
  92. this.ckdzms.Dock = System.Windows.Forms.DockStyle.Fill;
  93. this.ckdzms.Location = new System.Drawing.Point(3, 25);
  94. this.ckdzms.Name = "ckdzms";
  95. this.ckdzms.Size = new System.Drawing.Size(194, 391);
  96. this.ckdzms.TabIndex = 0;
  97. //
  98. // groupBox2
  99. //
  100. this.groupBox2.Controls.Add(this.clbCZ);
  101. this.groupBox2.Location = new System.Drawing.Point(3, 9);
  102. this.groupBox2.Name = "groupBox2";
  103. this.groupBox2.Size = new System.Drawing.Size(200, 419);
  104. this.groupBox2.TabIndex = 14;
  105. this.groupBox2.TabStop = false;
  106. this.groupBox2.Text = "管线材质";
  107. //
  108. // clbCZ
  109. //
  110. this.clbCZ.Dock = System.Windows.Forms.DockStyle.Fill;
  111. this.clbCZ.Location = new System.Drawing.Point(3, 25);
  112. this.clbCZ.Name = "clbCZ";
  113. this.clbCZ.Size = new System.Drawing.Size(194, 391);
  114. this.clbCZ.TabIndex = 0;
  115. //
  116. // groupBox3
  117. //
  118. this.groupBox3.Controls.Add(this.clbgj);
  119. this.groupBox3.Location = new System.Drawing.Point(223, 6);
  120. this.groupBox3.Name = "groupBox3";
  121. this.groupBox3.Size = new System.Drawing.Size(200, 419);
  122. this.groupBox3.TabIndex = 15;
  123. this.groupBox3.TabStop = false;
  124. this.groupBox3.Text = "管径";
  125. //
  126. // clbgj
  127. //
  128. this.clbgj.Dock = System.Windows.Forms.DockStyle.Fill;
  129. this.clbgj.Location = new System.Drawing.Point(3, 25);
  130. this.clbgj.Name = "clbgj";
  131. this.clbgj.Size = new System.Drawing.Size(194, 391);
  132. this.clbgj.TabIndex = 1;
  133. //
  134. // uiButton1
  135. //
  136. this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
  137. this.uiButton1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  138. this.uiButton1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  139. this.uiButton1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  140. this.uiButton1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  141. this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
  142. this.uiButton1.Location = new System.Drawing.Point(9, 450);
  143. this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
  144. this.uiButton1.Name = "uiButton1";
  145. this.uiButton1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  146. this.uiButton1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  147. this.uiButton1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  148. this.uiButton1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  149. this.uiButton1.Size = new System.Drawing.Size(51, 35);
  150. this.uiButton1.Style = Sunny.UI.UIStyle.Gray;
  151. this.uiButton1.TabIndex = 16;
  152. this.uiButton1.Text = "全选";
  153. this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
  154. //
  155. // uiButton2
  156. //
  157. this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
  158. this.uiButton2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  159. this.uiButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  160. this.uiButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  161. this.uiButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  162. this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
  163. this.uiButton2.Location = new System.Drawing.Point(71, 450);
  164. this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
  165. this.uiButton2.Name = "uiButton2";
  166. this.uiButton2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  167. this.uiButton2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  168. this.uiButton2.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  169. this.uiButton2.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  170. this.uiButton2.Size = new System.Drawing.Size(51, 35);
  171. this.uiButton2.Style = Sunny.UI.UIStyle.Gray;
  172. this.uiButton2.TabIndex = 17;
  173. this.uiButton2.Text = "反选";
  174. this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
  175. //
  176. // uiButton3
  177. //
  178. this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
  179. this.uiButton3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  180. this.uiButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  181. this.uiButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  182. this.uiButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  183. this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
  184. this.uiButton3.Location = new System.Drawing.Point(133, 450);
  185. this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
  186. this.uiButton3.Name = "uiButton3";
  187. this.uiButton3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  188. this.uiButton3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  189. this.uiButton3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  190. this.uiButton3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  191. this.uiButton3.Size = new System.Drawing.Size(51, 35);
  192. this.uiButton3.Style = Sunny.UI.UIStyle.Gray;
  193. this.uiButton3.TabIndex = 18;
  194. this.uiButton3.Text = "清空";
  195. this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
  196. //
  197. // uiButton6
  198. //
  199. this.uiButton6.Cursor = System.Windows.Forms.Cursors.Hand;
  200. this.uiButton6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  201. this.uiButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  202. this.uiButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  203. this.uiButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  204. this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
  205. this.uiButton6.Location = new System.Drawing.Point(235, 446);
  206. this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1);
  207. this.uiButton6.Name = "uiButton6";
  208. this.uiButton6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  209. this.uiButton6.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  210. this.uiButton6.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  211. this.uiButton6.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  212. this.uiButton6.Size = new System.Drawing.Size(51, 35);
  213. this.uiButton6.Style = Sunny.UI.UIStyle.Gray;
  214. this.uiButton6.TabIndex = 19;
  215. this.uiButton6.Text = "全选";
  216. this.uiButton6.Click += new System.EventHandler(this.uiButton6_Click);
  217. //
  218. // uiButton5
  219. //
  220. this.uiButton5.Cursor = System.Windows.Forms.Cursors.Hand;
  221. this.uiButton5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  222. this.uiButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  223. this.uiButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  224. this.uiButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  225. this.uiButton5.Font = new System.Drawing.Font("微软雅黑", 12F);
  226. this.uiButton5.Location = new System.Drawing.Point(297, 446);
  227. this.uiButton5.MinimumSize = new System.Drawing.Size(1, 1);
  228. this.uiButton5.Name = "uiButton5";
  229. this.uiButton5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  230. this.uiButton5.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  231. this.uiButton5.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  232. this.uiButton5.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  233. this.uiButton5.Size = new System.Drawing.Size(51, 35);
  234. this.uiButton5.Style = Sunny.UI.UIStyle.Gray;
  235. this.uiButton5.TabIndex = 20;
  236. this.uiButton5.Text = "反选";
  237. this.uiButton5.Click += new System.EventHandler(this.uiButton5_Click);
  238. //
  239. // uiButton4
  240. //
  241. this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
  242. this.uiButton4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  243. this.uiButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  244. this.uiButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  245. this.uiButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  246. this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
  247. this.uiButton4.Location = new System.Drawing.Point(359, 446);
  248. this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
  249. this.uiButton4.Name = "uiButton4";
  250. this.uiButton4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  251. this.uiButton4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  252. this.uiButton4.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  253. this.uiButton4.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  254. this.uiButton4.Size = new System.Drawing.Size(51, 35);
  255. this.uiButton4.Style = Sunny.UI.UIStyle.Gray;
  256. this.uiButton4.TabIndex = 21;
  257. this.uiButton4.Text = "清空";
  258. this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click);
  259. //
  260. // uiButton9
  261. //
  262. this.uiButton9.Cursor = System.Windows.Forms.Cursors.Hand;
  263. this.uiButton9.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  264. this.uiButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  265. this.uiButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  266. this.uiButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  267. this.uiButton9.Font = new System.Drawing.Font("微软雅黑", 12F);
  268. this.uiButton9.Location = new System.Drawing.Point(447, 446);
  269. this.uiButton9.MinimumSize = new System.Drawing.Size(1, 1);
  270. this.uiButton9.Name = "uiButton9";
  271. this.uiButton9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  272. this.uiButton9.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  273. this.uiButton9.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  274. this.uiButton9.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  275. this.uiButton9.Size = new System.Drawing.Size(51, 35);
  276. this.uiButton9.Style = Sunny.UI.UIStyle.Gray;
  277. this.uiButton9.TabIndex = 22;
  278. this.uiButton9.Text = "全选";
  279. this.uiButton9.Click += new System.EventHandler(this.uiButton9_Click);
  280. //
  281. // uiButton8
  282. //
  283. this.uiButton8.Cursor = System.Windows.Forms.Cursors.Hand;
  284. this.uiButton8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  285. this.uiButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  286. this.uiButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  287. this.uiButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  288. this.uiButton8.Font = new System.Drawing.Font("微软雅黑", 12F);
  289. this.uiButton8.Location = new System.Drawing.Point(509, 446);
  290. this.uiButton8.MinimumSize = new System.Drawing.Size(1, 1);
  291. this.uiButton8.Name = "uiButton8";
  292. this.uiButton8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  293. this.uiButton8.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  294. this.uiButton8.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  295. this.uiButton8.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  296. this.uiButton8.Size = new System.Drawing.Size(51, 35);
  297. this.uiButton8.Style = Sunny.UI.UIStyle.Gray;
  298. this.uiButton8.TabIndex = 23;
  299. this.uiButton8.Text = "反选";
  300. this.uiButton8.Click += new System.EventHandler(this.uiButton8_Click);
  301. //
  302. // uiButton7
  303. //
  304. this.uiButton7.Cursor = System.Windows.Forms.Cursors.Hand;
  305. this.uiButton7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  306. this.uiButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  307. this.uiButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  308. this.uiButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  309. this.uiButton7.Font = new System.Drawing.Font("微软雅黑", 12F);
  310. this.uiButton7.Location = new System.Drawing.Point(571, 446);
  311. this.uiButton7.MinimumSize = new System.Drawing.Size(1, 1);
  312. this.uiButton7.Name = "uiButton7";
  313. this.uiButton7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  314. this.uiButton7.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  315. this.uiButton7.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  316. this.uiButton7.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  317. this.uiButton7.Size = new System.Drawing.Size(51, 35);
  318. this.uiButton7.Style = Sunny.UI.UIStyle.Gray;
  319. this.uiButton7.TabIndex = 24;
  320. this.uiButton7.Text = "清空";
  321. this.uiButton7.Click += new System.EventHandler(this.uiButton7_Click);
  322. //
  323. // SercherOnGX
  324. //
  325. this.Controls.Add(this.uiButton7);
  326. this.Controls.Add(this.uiButton8);
  327. this.Controls.Add(this.uiButton9);
  328. this.Controls.Add(this.uiButton4);
  329. this.Controls.Add(this.uiButton5);
  330. this.Controls.Add(this.uiButton6);
  331. this.Controls.Add(this.uiButton3);
  332. this.Controls.Add(this.uiButton2);
  333. this.Controls.Add(this.uiButton1);
  334. this.Controls.Add(this.groupBox2);
  335. this.Controls.Add(this.groupBox3);
  336. this.Controls.Add(this.groupBox1);
  337. this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(244)))));
  338. this.Name = "SercherOnGX";
  339. this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  340. this.Size = new System.Drawing.Size(800, 500);
  341. this.Style = Sunny.UI.UIStyle.Gray;
  342. this.groupBox1.ResumeLayout(false);
  343. this.groupBox2.ResumeLayout(false);
  344. this.groupBox3.ResumeLayout(false);
  345. this.ResumeLayout(false);
  346. }
  347. #endregion
  348. private void uiButton3_Click(object sender, EventArgs e)//清空
  349. {
  350. ComsStatic.CheckListBoxDo(clbCZ, 3);
  351. }
  352. private void uiButton2_Click(object sender, EventArgs e)//反选
  353. {
  354. ComsStatic.CheckListBoxDo(clbCZ, 2);
  355. }
  356. private void uiButton1_Click(object sender, EventArgs e)//全选
  357. {
  358. ComsStatic.CheckListBoxDo(clbCZ, 1);
  359. }
  360. private void uiButton4_Click(object sender, EventArgs e)
  361. {
  362. ComsStatic.CheckListBoxDo(clbgj, 3);
  363. }
  364. private void uiButton5_Click(object sender, EventArgs e)
  365. {
  366. ComsStatic.CheckListBoxDo(clbgj, 2);
  367. }
  368. private void uiButton6_Click(object sender, EventArgs e)
  369. {
  370. ComsStatic.CheckListBoxDo(clbgj, 1);
  371. }
  372. private void uiButton9_Click(object sender, EventArgs e)
  373. {
  374. ComsStatic.CheckListBoxDo(ckdzms, 1);
  375. }
  376. private void uiButton8_Click(object sender, EventArgs e)
  377. {
  378. ComsStatic.CheckListBoxDo(ckdzms, 2);
  379. }
  380. private void uiButton7_Click(object sender, EventArgs e)
  381. {
  382. ComsStatic.CheckListBoxDo(ckdzms, 3);
  383. }
  384. }
  385. }