123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527 |
- using SuperMap.Data;
- using SuperMap.Mapping;
- using SuperMap.UI;
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Drawing;
- using WeifenLuo.WinFormsUI.Docking;
- using WWPipeLine.MapBasic.Conditions;
- using WWPipeLine.MapBasic;
- using System.Windows.Forms;
- namespace WWPipeLine.MapTools.Conditions.Locations
- {
- public class SearchGSGD : ConditionPanel
- {
- public virtual DatasetVector dvSearch { get; set; }
- public SearchGSGD() : base()
- {
- this.ConditionPanelName = "SearchGSGD-ConditionPanelName";
- this.SetSize(800, 500);
- InitializeComponent();
- }
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.CheckedListBox clbDZMS;
- private GroupBox groupBox2;
- private CheckedListBox clbCZ;
- private GroupBox groupBox3;
- private CheckedListBox clbXH;
- private GroupBox groupBox4;
- private Sunny.UI.UIButton uiButton1;
- private Sunny.UI.UIButton uiButton2;
- private Sunny.UI.UIButton uiButton3;
- private Sunny.UI.UIButton uiButton10;
- private Sunny.UI.UIButton uiButton11;
- private Sunny.UI.UIButton uiButton12;
- private Sunny.UI.UIButton uiButton4;
- private Sunny.UI.UIButton uiButton5;
- private Sunny.UI.UIButton uiButton6;
- private Sunny.UI.UIButton uiButton7;
- private Sunny.UI.UIButton uiButton8;
- private Sunny.UI.UIButton uiButton9;
- private CheckedListBox clbGG;
- protected override void OnLoad(EventArgs e)
- {
- if (dvSearch == null)
- {
- Sunny.UI.UIMessageTip.ShowError("当前数据源中不包含相应的矢量数据集");
- this.ParentForm.Close();
- return;
- }
- if (!ComsStatic.HasField(dvSearch, "xh") || !ComsStatic.HasField(dvSearch, "cz") || !ComsStatic.HasField(dvSearch, "gg") || !ComsStatic.HasField(dvSearch, "dzms"))
- {
- Sunny.UI.UIMessageTip.ShowError("当前矢量数据集没有相应的信息");
- this.ParentForm.Close();
- return;
- }
- ComsStatic.BindDataTableOnCheckedListBox(dvSearch, clbXH, "xh");
- ComsStatic.BindDataTableOnCheckedListBox(dvSearch, clbCZ, "cz");
- ComsStatic.BindDataTableOnCheckedListBox(dvSearch, clbGG, "gg");
- ComsStatic.BindDataTableOnCheckedListBox(dvSearch, clbDZMS, "dzms");
- }
- public override object Do(DockPanel dockPanel = null)
- {
- Dictionary<string, CheckedListBox> dic = new Dictionary<string, CheckedListBox>();
- dic.Add("xh", clbXH); dic.Add("gg", clbGG); dic.Add("cz", clbCZ); dic.Add("dzms", clbDZMS);
- return ComsStatic.QueryDataTable(dvSearch, ComsStatic.getSqlCheckListBox(dic), ComsStatic.resultFieldsGD);
- }
- #region 界面布局
- private void InitializeComponent()
- {
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.uiButton10 = new Sunny.UI.UIButton();
- this.uiButton11 = new Sunny.UI.UIButton();
- this.uiButton12 = new Sunny.UI.UIButton();
- this.clbDZMS = new System.Windows.Forms.CheckedListBox();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.uiButton4 = new Sunny.UI.UIButton();
- this.uiButton5 = new Sunny.UI.UIButton();
- this.uiButton6 = new Sunny.UI.UIButton();
- this.clbCZ = new System.Windows.Forms.CheckedListBox();
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.uiButton1 = new Sunny.UI.UIButton();
- this.uiButton2 = new Sunny.UI.UIButton();
- this.uiButton3 = new Sunny.UI.UIButton();
- this.clbXH = new System.Windows.Forms.CheckedListBox();
- this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.uiButton7 = new Sunny.UI.UIButton();
- this.uiButton8 = new Sunny.UI.UIButton();
- this.uiButton9 = new Sunny.UI.UIButton();
- this.clbGG = new System.Windows.Forms.CheckedListBox();
- this.groupBox1.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.groupBox3.SuspendLayout();
- this.groupBox4.SuspendLayout();
- this.SuspendLayout();
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.uiButton10);
- this.groupBox1.Controls.Add(this.uiButton11);
- this.groupBox1.Controls.Add(this.uiButton12);
- this.groupBox1.Controls.Add(this.clbDZMS);
- this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.groupBox1.Location = new System.Drawing.Point(552, 0);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(248, 415);
- this.groupBox1.TabIndex = 14;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "地址描述";
- //
- // uiButton10
- //
- this.uiButton10.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton10.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton10.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton10.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton10.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton10.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton10.Location = new System.Drawing.Point(45, 364);
- this.uiButton10.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton10.Name = "uiButton10";
- this.uiButton10.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton10.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton10.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton10.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton10.Size = new System.Drawing.Size(45, 30);
- this.uiButton10.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton10.TabIndex = 22;
- this.uiButton10.Text = "全选";
- this.uiButton10.Click += new System.EventHandler(this.uiButton10_Click);
- //
- // uiButton11
- //
- this.uiButton11.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton11.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton11.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton11.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton11.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton11.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton11.Location = new System.Drawing.Point(107, 364);
- this.uiButton11.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton11.Name = "uiButton11";
- this.uiButton11.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton11.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton11.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton11.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton11.Size = new System.Drawing.Size(45, 30);
- this.uiButton11.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton11.TabIndex = 23;
- this.uiButton11.Text = "反选";
- this.uiButton11.Click += new System.EventHandler(this.uiButton11_Click);
- //
- // uiButton12
- //
- this.uiButton12.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton12.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton12.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton12.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton12.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton12.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton12.Location = new System.Drawing.Point(169, 364);
- this.uiButton12.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton12.Name = "uiButton12";
- this.uiButton12.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton12.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton12.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton12.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton12.Size = new System.Drawing.Size(45, 30);
- this.uiButton12.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton12.TabIndex = 24;
- this.uiButton12.Text = "清空";
- this.uiButton12.Click += new System.EventHandler(this.uiButton12_Click);
- //
- // clbDZMS
- //
- this.clbDZMS.CheckOnClick = true;
- this.clbDZMS.Dock = System.Windows.Forms.DockStyle.Top;
- this.clbDZMS.Location = new System.Drawing.Point(3, 25);
- this.clbDZMS.Name = "clbDZMS";
- this.clbDZMS.Size = new System.Drawing.Size(242, 316);
- this.clbDZMS.TabIndex = 0;
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.uiButton4);
- this.groupBox2.Controls.Add(this.uiButton5);
- this.groupBox2.Controls.Add(this.uiButton6);
- this.groupBox2.Controls.Add(this.clbCZ);
- this.groupBox2.Dock = System.Windows.Forms.DockStyle.Left;
- this.groupBox2.Location = new System.Drawing.Point(184, 0);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(184, 415);
- this.groupBox2.TabIndex = 15;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "材质";
- //
- // uiButton4
- //
- this.uiButton4.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton4.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton4.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton4.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton4.Location = new System.Drawing.Point(10, 364);
- this.uiButton4.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton4.Name = "uiButton4";
- this.uiButton4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton4.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton4.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton4.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton4.Size = new System.Drawing.Size(45, 30);
- this.uiButton4.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton4.TabIndex = 22;
- this.uiButton4.Text = "全选";
- this.uiButton4.Click += new System.EventHandler(this.uiButton4_Click);
- //
- // uiButton5
- //
- this.uiButton5.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton5.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton5.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton5.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton5.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton5.Location = new System.Drawing.Point(72, 364);
- this.uiButton5.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton5.Name = "uiButton5";
- this.uiButton5.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton5.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton5.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton5.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton5.Size = new System.Drawing.Size(45, 30);
- this.uiButton5.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton5.TabIndex = 23;
- this.uiButton5.Text = "反选";
- this.uiButton5.Click += new System.EventHandler(this.uiButton5_Click);
- //
- // uiButton6
- //
- this.uiButton6.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton6.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton6.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton6.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton6.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton6.Location = new System.Drawing.Point(134, 364);
- this.uiButton6.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton6.Name = "uiButton6";
- this.uiButton6.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton6.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton6.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton6.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton6.Size = new System.Drawing.Size(45, 30);
- this.uiButton6.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton6.TabIndex = 24;
- this.uiButton6.Text = "清空";
- this.uiButton6.Click += new System.EventHandler(this.uiButton6_Click);
- //
- // clbCZ
- //
- this.clbCZ.CheckOnClick = true;
- this.clbCZ.Dock = System.Windows.Forms.DockStyle.Top;
- this.clbCZ.Location = new System.Drawing.Point(3, 25);
- this.clbCZ.Name = "clbCZ";
- this.clbCZ.Size = new System.Drawing.Size(178, 316);
- this.clbCZ.TabIndex = 0;
- //
- // groupBox3
- //
- this.groupBox3.Controls.Add(this.uiButton1);
- this.groupBox3.Controls.Add(this.uiButton2);
- this.groupBox3.Controls.Add(this.uiButton3);
- this.groupBox3.Controls.Add(this.clbXH);
- this.groupBox3.Dock = System.Windows.Forms.DockStyle.Left;
- this.groupBox3.Location = new System.Drawing.Point(0, 0);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(184, 415);
- this.groupBox3.TabIndex = 15;
- this.groupBox3.TabStop = false;
- this.groupBox3.Text = "型号";
- //
- // uiButton1
- //
- this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton1.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton1.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton1.Location = new System.Drawing.Point(7, 364);
- this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton1.Name = "uiButton1";
- this.uiButton1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton1.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton1.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton1.Size = new System.Drawing.Size(45, 30);
- this.uiButton1.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton1.TabIndex = 19;
- this.uiButton1.Text = "全选";
- this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
- //
- // uiButton2
- //
- this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton2.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton2.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton2.Location = new System.Drawing.Point(69, 364);
- this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton2.Name = "uiButton2";
- this.uiButton2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton2.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton2.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton2.Size = new System.Drawing.Size(45, 30);
- this.uiButton2.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton2.TabIndex = 20;
- this.uiButton2.Text = "反选";
- this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
- //
- // uiButton3
- //
- this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton3.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton3.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton3.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton3.Location = new System.Drawing.Point(131, 364);
- this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton3.Name = "uiButton3";
- this.uiButton3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton3.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton3.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton3.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton3.Size = new System.Drawing.Size(45, 30);
- this.uiButton3.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton3.TabIndex = 21;
- this.uiButton3.Text = "清空";
- this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
- //
- // clbXH
- //
- this.clbXH.CheckOnClick = true;
- this.clbXH.Dock = System.Windows.Forms.DockStyle.Top;
- this.clbXH.Location = new System.Drawing.Point(3, 25);
- this.clbXH.Name = "clbXH";
- this.clbXH.Size = new System.Drawing.Size(178, 316);
- this.clbXH.TabIndex = 0;
- //
- // groupBox4
- //
- this.groupBox4.Controls.Add(this.uiButton7);
- this.groupBox4.Controls.Add(this.uiButton8);
- this.groupBox4.Controls.Add(this.uiButton9);
- this.groupBox4.Controls.Add(this.clbGG);
- this.groupBox4.Dock = System.Windows.Forms.DockStyle.Left;
- this.groupBox4.Location = new System.Drawing.Point(368, 0);
- this.groupBox4.Name = "groupBox4";
- this.groupBox4.Size = new System.Drawing.Size(184, 415);
- this.groupBox4.TabIndex = 15;
- this.groupBox4.TabStop = false;
- this.groupBox4.Text = "规格";
- //
- // uiButton7
- //
- this.uiButton7.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton7.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton7.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton7.Location = new System.Drawing.Point(11, 364);
- this.uiButton7.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton7.Name = "uiButton7";
- this.uiButton7.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton7.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton7.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton7.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton7.Size = new System.Drawing.Size(45, 30);
- this.uiButton7.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton7.TabIndex = 22;
- this.uiButton7.Text = "全选";
- this.uiButton7.Click += new System.EventHandler(this.uiButton7_Click);
- //
- // uiButton8
- //
- this.uiButton8.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton8.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton8.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton8.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton8.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton8.Location = new System.Drawing.Point(73, 364);
- this.uiButton8.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton8.Name = "uiButton8";
- this.uiButton8.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton8.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton8.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton8.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton8.Size = new System.Drawing.Size(45, 30);
- this.uiButton8.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton8.TabIndex = 23;
- this.uiButton8.Text = "反选";
- this.uiButton8.Click += new System.EventHandler(this.uiButton8_Click);
- //
- // uiButton9
- //
- this.uiButton9.Cursor = System.Windows.Forms.Cursors.Hand;
- this.uiButton9.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton9.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton9.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton9.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton9.Font = new System.Drawing.Font("微软雅黑", 12F);
- this.uiButton9.Location = new System.Drawing.Point(135, 364);
- this.uiButton9.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiButton9.Name = "uiButton9";
- this.uiButton9.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.uiButton9.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(160)))), ((int)(((byte)(165)))));
- this.uiButton9.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton9.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(123)))), ((int)(((byte)(129)))));
- this.uiButton9.Size = new System.Drawing.Size(45, 30);
- this.uiButton9.Style = Sunny.UI.UIStyle.Gray;
- this.uiButton9.TabIndex = 24;
- this.uiButton9.Text = "清空";
- this.uiButton9.Click += new System.EventHandler(this.uiButton9_Click);
- //
- // clbGG
- //
- this.clbGG.CheckOnClick = true;
- this.clbGG.Dock = System.Windows.Forms.DockStyle.Top;
- this.clbGG.Location = new System.Drawing.Point(3, 25);
- this.clbGG.Name = "clbGG";
- this.clbGG.Size = new System.Drawing.Size(178, 316);
- this.clbGG.TabIndex = 0;
- //
- // SearchGSGD
- //
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.groupBox4);
- this.Controls.Add(this.groupBox2);
- this.Controls.Add(this.groupBox3);
- this.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(244)))));
- this.Name = "SearchGSGD";
- this.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(140)))), ((int)(((byte)(140)))));
- this.Size = new System.Drawing.Size(800, 415);
- this.Style = Sunny.UI.UIStyle.Gray;
- this.groupBox1.ResumeLayout(false);
- this.groupBox2.ResumeLayout(false);
- this.groupBox3.ResumeLayout(false);
- this.groupBox4.ResumeLayout(false);
- this.ResumeLayout(false);
- }
- #endregion
- private void uiButton1_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbXH, 1);
- }
- private void uiButton2_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbXH, 2);
- }
- private void uiButton3_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbXH, 3);
- }
- private void uiButton4_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbCZ, 1);
- }
- private void uiButton5_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbCZ, 2);
- }
- private void uiButton6_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbCZ, 3);
- }
- private void uiButton7_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbGG, 1);
- }
- private void uiButton8_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbGG, 2);
- }
- private void uiButton9_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbGG, 3);
- }
- private void uiButton10_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbDZMS, 1);
- }
- private void uiButton11_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbDZMS, 2);
- }
- private void uiButton12_Click(object sender, EventArgs e)
- {
- ComsStatic.CheckListBoxDo(clbDZMS, 3);
- }
- }
- }
|