SercherOnGX.cs 22 KB

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