SearchGSGD.cs 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  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.Windows.Forms;
  12. namespace WWPipeLine.MapTools.Conditions.Locations
  13. {
  14. public class SearchGSGD : ConditionPanel
  15. {
  16. public virtual DatasetVector dvSearch { get; set; }
  17. public SearchGSGD() : base()
  18. {
  19. this.ConditionPanelName = "SearchGSGD-ConditionPanelName";
  20. this.SetSize(800, 500);
  21. InitializeComponent();
  22. }
  23. private System.Windows.Forms.GroupBox groupBox1;
  24. private System.Windows.Forms.CheckedListBox clbDZMS;
  25. private GroupBox groupBox2;
  26. private CheckedListBox clbCZ;
  27. private GroupBox groupBox3;
  28. private CheckedListBox clbXH;
  29. private GroupBox groupBox4;
  30. private Sunny.UI.UIButton uiButton1;
  31. private Sunny.UI.UIButton uiButton2;
  32. private Sunny.UI.UIButton uiButton3;
  33. private Sunny.UI.UIButton uiButton10;
  34. private Sunny.UI.UIButton uiButton11;
  35. private Sunny.UI.UIButton uiButton12;
  36. private Sunny.UI.UIButton uiButton4;
  37. private Sunny.UI.UIButton uiButton5;
  38. private Sunny.UI.UIButton uiButton6;
  39. private Sunny.UI.UIButton uiButton7;
  40. private Sunny.UI.UIButton uiButton8;
  41. private Sunny.UI.UIButton uiButton9;
  42. private CheckedListBox clbGG;
  43. protected override void OnLoad(EventArgs e)
  44. {
  45. if (dvSearch == null)
  46. {
  47. Sunny.UI.UIMessageTip.ShowError("当前数据源中不包含相应的矢量数据集");
  48. this.ParentForm.Close();
  49. return;
  50. }
  51. if (!ComsStatic.HasField(dvSearch, "xh") || !ComsStatic.HasField(dvSearch, "cz") || !ComsStatic.HasField(dvSearch, "gg") || !ComsStatic.HasField(dvSearch, "dzms"))
  52. {
  53. Sunny.UI.UIMessageTip.ShowError("当前矢量数据集没有相应的信息");
  54. this.ParentForm.Close();
  55. return;
  56. }
  57. ComsStatic.BindDataTableOnCheckedListBox(dvSearch, clbXH, "xh");
  58. ComsStatic.BindDataTableOnCheckedListBox(dvSearch, clbCZ, "cz");
  59. ComsStatic.BindDataTableOnCheckedListBox(dvSearch, clbGG, "gg");
  60. ComsStatic.BindDataTableOnCheckedListBox(dvSearch, clbDZMS, "dzms");
  61. }
  62. public override object Do(DockPanel dockPanel = null)
  63. {
  64. Dictionary<string, CheckedListBox> dic = new Dictionary<string, CheckedListBox>();
  65. dic.Add("xh", clbXH); dic.Add("gg", clbGG); dic.Add("cz", clbCZ); dic.Add("dzms", clbDZMS);
  66. return ComsStatic.QueryDataTable(dvSearch, ComsStatic.getSqlCheckListBox(dic), ComsStatic.resultFieldsGD);
  67. }
  68. #region 界面布局
  69. private void InitializeComponent()
  70. {
  71. this.groupBox1 = new System.Windows.Forms.GroupBox();
  72. this.uiButton10 = new Sunny.UI.UIButton();
  73. this.uiButton11 = new Sunny.UI.UIButton();
  74. this.uiButton12 = new Sunny.UI.UIButton();
  75. this.clbDZMS = new System.Windows.Forms.CheckedListBox();
  76. this.groupBox2 = new System.Windows.Forms.GroupBox();
  77. this.uiButton4 = new Sunny.UI.UIButton();
  78. this.uiButton5 = new Sunny.UI.UIButton();
  79. this.uiButton6 = new Sunny.UI.UIButton();
  80. this.clbCZ = new System.Windows.Forms.CheckedListBox();
  81. this.groupBox3 = new System.Windows.Forms.GroupBox();
  82. this.uiButton1 = new Sunny.UI.UIButton();
  83. this.uiButton2 = new Sunny.UI.UIButton();
  84. this.uiButton3 = new Sunny.UI.UIButton();
  85. this.clbXH = new System.Windows.Forms.CheckedListBox();
  86. this.groupBox4 = new System.Windows.Forms.GroupBox();
  87. this.uiButton7 = new Sunny.UI.UIButton();
  88. this.uiButton8 = new Sunny.UI.UIButton();
  89. this.uiButton9 = new Sunny.UI.UIButton();
  90. this.clbGG = new System.Windows.Forms.CheckedListBox();
  91. this.groupBox1.SuspendLayout();
  92. this.groupBox2.SuspendLayout();
  93. this.groupBox3.SuspendLayout();
  94. this.groupBox4.SuspendLayout();
  95. this.SuspendLayout();
  96. //
  97. // groupBox1
  98. //
  99. this.groupBox1.Controls.Add(this.uiButton10);
  100. this.groupBox1.Controls.Add(this.uiButton11);
  101. this.groupBox1.Controls.Add(this.uiButton12);
  102. this.groupBox1.Controls.Add(this.clbDZMS);
  103. this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
  104. this.groupBox1.Location = new System.Drawing.Point(552, 0);
  105. this.groupBox1.Name = "groupBox1";
  106. this.groupBox1.Size = new System.Drawing.Size(248, 415);
  107. this.groupBox1.TabIndex = 14;
  108. this.groupBox1.TabStop = false;
  109. this.groupBox1.Text = "地址描述";
  110. //
  111. // uiButton10
  112. //
  113. this.uiButton10.Cursor = System.Windows.Forms.Cursors.Hand;
  114. this.uiButton10.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  115. this.uiButton10.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  116. this.uiButton10.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  117. this.uiButton10.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  118. this.uiButton10.Font = new System.Drawing.Font("微软雅黑", 12F);
  119. this.uiButton10.Location = new System.Drawing.Point(45, 364);
  120. this.uiButton10.MinimumSize = new System.Drawing.Size(1, 1);
  121. this.uiButton10.Name = "uiButton10";
  122. this.uiButton10.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  123. this.uiButton10.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  124. this.uiButton10.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  125. this.uiButton10.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  126. this.uiButton10.Size = new System.Drawing.Size(45, 30);
  127. this.uiButton10.Style = Sunny.UI.UIStyle.Gray;
  128. this.uiButton10.TabIndex = 22;
  129. this.uiButton10.Text = "全选";
  130. this.uiButton10.Click += new System.EventHandler(this.uiButton10_Click);
  131. //
  132. // uiButton11
  133. //
  134. this.uiButton11.Cursor = System.Windows.Forms.Cursors.Hand;
  135. this.uiButton11.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  136. this.uiButton11.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  137. this.uiButton11.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  138. this.uiButton11.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  139. this.uiButton11.Font = new System.Drawing.Font("微软雅黑", 12F);
  140. this.uiButton11.Location = new System.Drawing.Point(107, 364);
  141. this.uiButton11.MinimumSize = new System.Drawing.Size(1, 1);
  142. this.uiButton11.Name = "uiButton11";
  143. this.uiButton11.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  144. this.uiButton11.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  145. this.uiButton11.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  146. this.uiButton11.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  147. this.uiButton11.Size = new System.Drawing.Size(45, 30);
  148. this.uiButton11.Style = Sunny.UI.UIStyle.Gray;
  149. this.uiButton11.TabIndex = 23;
  150. this.uiButton11.Text = "反选";
  151. this.uiButton11.Click += new System.EventHandler(this.uiButton11_Click);
  152. //
  153. // uiButton12
  154. //
  155. this.uiButton12.Cursor = System.Windows.Forms.Cursors.Hand;
  156. this.uiButton12.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  157. this.uiButton12.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  158. this.uiButton12.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  159. this.uiButton12.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  160. this.uiButton12.Font = new System.Drawing.Font("微软雅黑", 12F);
  161. this.uiButton12.Location = new System.Drawing.Point(169, 364);
  162. this.uiButton12.MinimumSize = new System.Drawing.Size(1, 1);
  163. this.uiButton12.Name = "uiButton12";
  164. this.uiButton12.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  165. this.uiButton12.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  166. this.uiButton12.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  167. this.uiButton12.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  168. this.uiButton12.Size = new System.Drawing.Size(45, 30);
  169. this.uiButton12.Style = Sunny.UI.UIStyle.Gray;
  170. this.uiButton12.TabIndex = 24;
  171. this.uiButton12.Text = "清空";
  172. this.uiButton12.Click += new System.EventHandler(this.uiButton12_Click);
  173. //
  174. // clbDZMS
  175. //
  176. this.clbDZMS.CheckOnClick = true;
  177. this.clbDZMS.Dock = System.Windows.Forms.DockStyle.Top;
  178. this.clbDZMS.Location = new System.Drawing.Point(3, 25);
  179. this.clbDZMS.Name = "clbDZMS";
  180. this.clbDZMS.Size = new System.Drawing.Size(242, 316);
  181. this.clbDZMS.TabIndex = 0;
  182. //
  183. // groupBox2
  184. //
  185. this.groupBox2.Controls.Add(this.uiButton4);
  186. this.groupBox2.Controls.Add(this.uiButton5);
  187. this.groupBox2.Controls.Add(this.uiButton6);
  188. this.groupBox2.Controls.Add(this.clbCZ);
  189. this.groupBox2.Dock = System.Windows.Forms.DockStyle.Left;
  190. this.groupBox2.Location = new System.Drawing.Point(184, 0);
  191. this.groupBox2.Name = "groupBox2";
  192. this.groupBox2.Size = new System.Drawing.Size(184, 415);
  193. this.groupBox2.TabIndex = 15;
  194. this.groupBox2.TabStop = false;
  195. this.groupBox2.Text = "材质";
  196. //
  197. // uiButton4
  198. //
  199. this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
  200. this.uiButton4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  201. this.uiButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  202. this.uiButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  203. this.uiButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  204. this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
  205. this.uiButton4.Location = new System.Drawing.Point(10, 364);
  206. this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
  207. this.uiButton4.Name = "uiButton4";
  208. this.uiButton4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  209. this.uiButton4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  210. this.uiButton4.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  211. this.uiButton4.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  212. this.uiButton4.Size = new System.Drawing.Size(45, 30);
  213. this.uiButton4.Style = Sunny.UI.UIStyle.Gray;
  214. this.uiButton4.TabIndex = 22;
  215. this.uiButton4.Text = "全选";
  216. this.uiButton4.Click += new System.EventHandler(this.uiButton4_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(72, 364);
  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(45, 30);
  234. this.uiButton5.Style = Sunny.UI.UIStyle.Gray;
  235. this.uiButton5.TabIndex = 23;
  236. this.uiButton5.Text = "反选";
  237. this.uiButton5.Click += new System.EventHandler(this.uiButton5_Click);
  238. //
  239. // uiButton6
  240. //
  241. this.uiButton6.Cursor = System.Windows.Forms.Cursors.Hand;
  242. this.uiButton6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  243. this.uiButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  244. this.uiButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  245. this.uiButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  246. this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
  247. this.uiButton6.Location = new System.Drawing.Point(134, 364);
  248. this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1);
  249. this.uiButton6.Name = "uiButton6";
  250. this.uiButton6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  251. this.uiButton6.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  252. this.uiButton6.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  253. this.uiButton6.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  254. this.uiButton6.Size = new System.Drawing.Size(45, 30);
  255. this.uiButton6.Style = Sunny.UI.UIStyle.Gray;
  256. this.uiButton6.TabIndex = 24;
  257. this.uiButton6.Text = "清空";
  258. this.uiButton6.Click += new System.EventHandler(this.uiButton6_Click);
  259. //
  260. // clbCZ
  261. //
  262. this.clbCZ.CheckOnClick = true;
  263. this.clbCZ.Dock = System.Windows.Forms.DockStyle.Top;
  264. this.clbCZ.Location = new System.Drawing.Point(3, 25);
  265. this.clbCZ.Name = "clbCZ";
  266. this.clbCZ.Size = new System.Drawing.Size(178, 316);
  267. this.clbCZ.TabIndex = 0;
  268. //
  269. // groupBox3
  270. //
  271. this.groupBox3.Controls.Add(this.uiButton1);
  272. this.groupBox3.Controls.Add(this.uiButton2);
  273. this.groupBox3.Controls.Add(this.uiButton3);
  274. this.groupBox3.Controls.Add(this.clbXH);
  275. this.groupBox3.Dock = System.Windows.Forms.DockStyle.Left;
  276. this.groupBox3.Location = new System.Drawing.Point(0, 0);
  277. this.groupBox3.Name = "groupBox3";
  278. this.groupBox3.Size = new System.Drawing.Size(184, 415);
  279. this.groupBox3.TabIndex = 15;
  280. this.groupBox3.TabStop = false;
  281. this.groupBox3.Text = "型号";
  282. //
  283. // uiButton1
  284. //
  285. this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
  286. this.uiButton1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  287. this.uiButton1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  288. this.uiButton1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  289. this.uiButton1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  290. this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
  291. this.uiButton1.Location = new System.Drawing.Point(7, 364);
  292. this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
  293. this.uiButton1.Name = "uiButton1";
  294. this.uiButton1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  295. this.uiButton1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  296. this.uiButton1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  297. this.uiButton1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  298. this.uiButton1.Size = new System.Drawing.Size(45, 30);
  299. this.uiButton1.Style = Sunny.UI.UIStyle.Gray;
  300. this.uiButton1.TabIndex = 19;
  301. this.uiButton1.Text = "全选";
  302. this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
  303. //
  304. // uiButton2
  305. //
  306. this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
  307. this.uiButton2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  308. this.uiButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  309. this.uiButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  310. this.uiButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  311. this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
  312. this.uiButton2.Location = new System.Drawing.Point(69, 364);
  313. this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
  314. this.uiButton2.Name = "uiButton2";
  315. this.uiButton2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  316. this.uiButton2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  317. this.uiButton2.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  318. this.uiButton2.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  319. this.uiButton2.Size = new System.Drawing.Size(45, 30);
  320. this.uiButton2.Style = Sunny.UI.UIStyle.Gray;
  321. this.uiButton2.TabIndex = 20;
  322. this.uiButton2.Text = "反选";
  323. this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
  324. //
  325. // uiButton3
  326. //
  327. this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
  328. this.uiButton3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  329. this.uiButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  330. this.uiButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  331. this.uiButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  332. this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
  333. this.uiButton3.Location = new System.Drawing.Point(131, 364);
  334. this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
  335. this.uiButton3.Name = "uiButton3";
  336. this.uiButton3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  337. this.uiButton3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  338. this.uiButton3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  339. this.uiButton3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  340. this.uiButton3.Size = new System.Drawing.Size(45, 30);
  341. this.uiButton3.Style = Sunny.UI.UIStyle.Gray;
  342. this.uiButton3.TabIndex = 21;
  343. this.uiButton3.Text = "清空";
  344. this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
  345. //
  346. // clbXH
  347. //
  348. this.clbXH.CheckOnClick = true;
  349. this.clbXH.Dock = System.Windows.Forms.DockStyle.Top;
  350. this.clbXH.Location = new System.Drawing.Point(3, 25);
  351. this.clbXH.Name = "clbXH";
  352. this.clbXH.Size = new System.Drawing.Size(178, 316);
  353. this.clbXH.TabIndex = 0;
  354. //
  355. // groupBox4
  356. //
  357. this.groupBox4.Controls.Add(this.uiButton7);
  358. this.groupBox4.Controls.Add(this.uiButton8);
  359. this.groupBox4.Controls.Add(this.uiButton9);
  360. this.groupBox4.Controls.Add(this.clbGG);
  361. this.groupBox4.Dock = System.Windows.Forms.DockStyle.Left;
  362. this.groupBox4.Location = new System.Drawing.Point(368, 0);
  363. this.groupBox4.Name = "groupBox4";
  364. this.groupBox4.Size = new System.Drawing.Size(184, 415);
  365. this.groupBox4.TabIndex = 15;
  366. this.groupBox4.TabStop = false;
  367. this.groupBox4.Text = "规格";
  368. //
  369. // uiButton7
  370. //
  371. this.uiButton7.Cursor = System.Windows.Forms.Cursors.Hand;
  372. this.uiButton7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  373. this.uiButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  374. this.uiButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  375. this.uiButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  376. this.uiButton7.Font = new System.Drawing.Font("微软雅黑", 12F);
  377. this.uiButton7.Location = new System.Drawing.Point(11, 364);
  378. this.uiButton7.MinimumSize = new System.Drawing.Size(1, 1);
  379. this.uiButton7.Name = "uiButton7";
  380. this.uiButton7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  381. this.uiButton7.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  382. this.uiButton7.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  383. this.uiButton7.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  384. this.uiButton7.Size = new System.Drawing.Size(45, 30);
  385. this.uiButton7.Style = Sunny.UI.UIStyle.Gray;
  386. this.uiButton7.TabIndex = 22;
  387. this.uiButton7.Text = "全选";
  388. this.uiButton7.Click += new System.EventHandler(this.uiButton7_Click);
  389. //
  390. // uiButton8
  391. //
  392. this.uiButton8.Cursor = System.Windows.Forms.Cursors.Hand;
  393. this.uiButton8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  394. this.uiButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  395. this.uiButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  396. this.uiButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  397. this.uiButton8.Font = new System.Drawing.Font("微软雅黑", 12F);
  398. this.uiButton8.Location = new System.Drawing.Point(73, 364);
  399. this.uiButton8.MinimumSize = new System.Drawing.Size(1, 1);
  400. this.uiButton8.Name = "uiButton8";
  401. this.uiButton8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  402. this.uiButton8.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  403. this.uiButton8.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  404. this.uiButton8.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  405. this.uiButton8.Size = new System.Drawing.Size(45, 30);
  406. this.uiButton8.Style = Sunny.UI.UIStyle.Gray;
  407. this.uiButton8.TabIndex = 23;
  408. this.uiButton8.Text = "反选";
  409. this.uiButton8.Click += new System.EventHandler(this.uiButton8_Click);
  410. //
  411. // uiButton9
  412. //
  413. this.uiButton9.Cursor = System.Windows.Forms.Cursors.Hand;
  414. this.uiButton9.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  415. this.uiButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  416. this.uiButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  417. this.uiButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  418. this.uiButton9.Font = new System.Drawing.Font("微软雅黑", 12F);
  419. this.uiButton9.Location = new System.Drawing.Point(135, 364);
  420. this.uiButton9.MinimumSize = new System.Drawing.Size(1, 1);
  421. this.uiButton9.Name = "uiButton9";
  422. this.uiButton9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  423. this.uiButton9.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
  424. this.uiButton9.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  425. this.uiButton9.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
  426. this.uiButton9.Size = new System.Drawing.Size(45, 30);
  427. this.uiButton9.Style = Sunny.UI.UIStyle.Gray;
  428. this.uiButton9.TabIndex = 24;
  429. this.uiButton9.Text = "清空";
  430. this.uiButton9.Click += new System.EventHandler(this.uiButton9_Click);
  431. //
  432. // clbGG
  433. //
  434. this.clbGG.CheckOnClick = true;
  435. this.clbGG.Dock = System.Windows.Forms.DockStyle.Top;
  436. this.clbGG.Location = new System.Drawing.Point(3, 25);
  437. this.clbGG.Name = "clbGG";
  438. this.clbGG.Size = new System.Drawing.Size(178, 316);
  439. this.clbGG.TabIndex = 0;
  440. //
  441. // SearchGSGD
  442. //
  443. this.Controls.Add(this.groupBox1);
  444. this.Controls.Add(this.groupBox4);
  445. this.Controls.Add(this.groupBox2);
  446. this.Controls.Add(this.groupBox3);
  447. this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(244)))));
  448. this.Name = "SearchGSGD";
  449. this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
  450. this.Size = new System.Drawing.Size(800, 415);
  451. this.Style = Sunny.UI.UIStyle.Gray;
  452. this.groupBox1.ResumeLayout(false);
  453. this.groupBox2.ResumeLayout(false);
  454. this.groupBox3.ResumeLayout(false);
  455. this.groupBox4.ResumeLayout(false);
  456. this.ResumeLayout(false);
  457. }
  458. #endregion
  459. private void uiButton1_Click(object sender, EventArgs e)
  460. {
  461. ComsStatic.CheckListBoxDo(clbXH, 1);
  462. }
  463. private void uiButton2_Click(object sender, EventArgs e)
  464. {
  465. ComsStatic.CheckListBoxDo(clbXH, 2);
  466. }
  467. private void uiButton3_Click(object sender, EventArgs e)
  468. {
  469. ComsStatic.CheckListBoxDo(clbXH, 3);
  470. }
  471. private void uiButton4_Click(object sender, EventArgs e)
  472. {
  473. ComsStatic.CheckListBoxDo(clbCZ, 1);
  474. }
  475. private void uiButton5_Click(object sender, EventArgs e)
  476. {
  477. ComsStatic.CheckListBoxDo(clbCZ, 2);
  478. }
  479. private void uiButton6_Click(object sender, EventArgs e)
  480. {
  481. ComsStatic.CheckListBoxDo(clbCZ, 3);
  482. }
  483. private void uiButton7_Click(object sender, EventArgs e)
  484. {
  485. ComsStatic.CheckListBoxDo(clbGG, 1);
  486. }
  487. private void uiButton8_Click(object sender, EventArgs e)
  488. {
  489. ComsStatic.CheckListBoxDo(clbGG, 2);
  490. }
  491. private void uiButton9_Click(object sender, EventArgs e)
  492. {
  493. ComsStatic.CheckListBoxDo(clbGG, 3);
  494. }
  495. private void uiButton10_Click(object sender, EventArgs e)
  496. {
  497. ComsStatic.CheckListBoxDo(clbDZMS, 1);
  498. }
  499. private void uiButton11_Click(object sender, EventArgs e)
  500. {
  501. ComsStatic.CheckListBoxDo(clbDZMS, 2);
  502. }
  503. private void uiButton12_Click(object sender, EventArgs e)
  504. {
  505. ComsStatic.CheckListBoxDo(clbDZMS, 3);
  506. }
  507. }
  508. }