From 4d3a6203df1cb2966ca09efbc8125544dba67537 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 21 三月 2025 14:04:35 +0800
Subject: [PATCH] 查询

---
 DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs |  412 +++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 335 insertions(+), 77 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs b/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs
index c023f26..3dedae5 100644
--- a/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs
+++ b/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs
@@ -29,42 +29,123 @@
         /// </summary>
         private void InitializeComponent()
         {
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
-            this.gcMain = new DevExpress.XtraGrid.GridControl();
-            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
-            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
-            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
-            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
+            DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition();
             this.panel1 = new System.Windows.Forms.Panel();
             this.btnEsc = new DevExpress.XtraEditors.SimpleButton();
             this.btnQuery = new DevExpress.XtraEditors.SimpleButton();
+            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
+            this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
+            this.gcMain = new DevExpress.XtraGrid.GridControl();
+            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
+            this.gcQuery = new DevExpress.XtraGrid.GridControl();
+            this.gvQuery = new DevExpress.XtraGrid.Views.Grid.GridView();
+            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.repositoryItemComboBoxSql = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.panQueryBom = new System.Windows.Forms.Panel();
+            this.btnQueryEsc = new DevExpress.XtraEditors.SimpleButton();
+            this.btnQuerySave = new DevExpress.XtraEditors.SimpleButton();
+            this.panQueryTop = new DevExpress.XtraEditors.PanelControl();
+            this.layQuery = new DevExpress.XtraLayout.LayoutControl();
+            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
+            this.txt_table = new DevExpress.XtraEditors.CheckedComboBoxEdit();
+            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+            this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
+            this.xtraTabControl1.SuspendLayout();
+            this.xtraTabPage1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(repositoryItemButtonEdit1)).BeginInit();
+            this.xtraTabPage2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gcQuery)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gvQuery)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBoxSql)).BeginInit();
+            this.panQueryBom.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.panQueryTop)).BeginInit();
+            this.panQueryTop.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.layQuery)).BeginInit();
+            this.layQuery.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_table.Properties)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
-            this.panel1.SuspendLayout();
             this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.btnEsc);
+            this.panel1.Controls.Add(this.btnQuery);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.panel1.Location = new System.Drawing.Point(0, 405);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(734, 56);
+            this.panel1.TabIndex = 1;
+            // 
+            // btnEsc
+            // 
+            this.btnEsc.Location = new System.Drawing.Point(391, 15);
+            this.btnEsc.Name = "btnEsc";
+            this.btnEsc.Size = new System.Drawing.Size(94, 29);
+            this.btnEsc.TabIndex = 1;
+            this.btnEsc.Text = "鍙栨秷";
+            // 
+            // btnQuery
+            // 
+            this.btnQuery.Location = new System.Drawing.Point(270, 15);
+            this.btnQuery.Name = "btnQuery";
+            this.btnQuery.Size = new System.Drawing.Size(94, 29);
+            this.btnQuery.TabIndex = 0;
+            this.btnQuery.Text = "纭畾鏌ヨ";
+            // 
+            // xtraTabControl1
+            // 
+            this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
+            this.xtraTabControl1.Name = "xtraTabControl1";
+            this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
+            this.xtraTabControl1.Size = new System.Drawing.Size(736, 493);
+            this.xtraTabControl1.TabIndex = 2;
+            this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
+            this.xtraTabPage1,
+            this.xtraTabPage2});
+            // 
+            // xtraTabPage1
+            // 
+            this.xtraTabPage1.Controls.Add(this.gcMain);
+            this.xtraTabPage1.Controls.Add(this.panel1);
+            this.xtraTabPage1.Name = "xtraTabPage1";
+            this.xtraTabPage1.Size = new System.Drawing.Size(734, 461);
+            this.xtraTabPage1.Text = "鏌ヨ鏉′欢";
             // 
             // gcMain
             // 
-            this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gcMain.Dock = System.Windows.Forms.DockStyle.Bottom;
             this.gcMain.Location = new System.Drawing.Point(0, 0);
             this.gcMain.MainView = this.gridView1;
             this.gcMain.Name = "gcMain";
             this.gcMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
             this.repositoryItemComboBox1,
-            this.repositoryItemComboBox2,
-            this.repositoryItemButtonEdit1});
-            this.gcMain.Size = new System.Drawing.Size(591, 285);
+            this.repositoryItemComboBox2});
+            this.gcMain.Size = new System.Drawing.Size(734, 405);
             this.gcMain.TabIndex = 0;
             this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
             this.gridView1});
@@ -91,16 +172,9 @@
             this.gridColumn1.VisibleIndex = 0;
             this.gridColumn1.Width = 150;
             // 
-            // repositoryItemComboBox1
-            // 
-            this.repositoryItemComboBox1.AutoHeight = false;
-            this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
-            // 
             // gridColumn2
             // 
-            this.gridColumn2.Caption = "鏉′欢";
+            this.gridColumn2.Caption = "鏌ヨ鏉′欢";
             this.gridColumn2.ColumnEdit = this.repositoryItemComboBox2;
             this.gridColumn2.FieldName = "fieldWhere";
             this.gridColumn2.MinWidth = 25;
@@ -109,16 +183,9 @@
             this.gridColumn2.VisibleIndex = 1;
             this.gridColumn2.Width = 80;
             // 
-            // repositoryItemComboBox2
-            // 
-            this.repositoryItemComboBox2.AutoHeight = false;
-            this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.repositoryItemComboBox2.Name = "repositoryItemComboBox2";
-            // 
             // gridColumn3
             // 
-            this.gridColumn3.Caption = "鍊�";
+            this.gridColumn3.Caption = "鏌ヨ鍊�";
             this.gridColumn3.FieldName = "fieldValue";
             this.gridColumn3.MinWidth = 25;
             this.gridColumn3.Name = "gridColumn3";
@@ -129,7 +196,14 @@
             // gridColumn4
             // 
             this.gridColumn4.Caption = "绉诲嚭";
-            this.gridColumn4.ColumnEdit = this.repositoryItemButtonEdit1;
+            repositoryItemButtonEdit1.AutoHeight = false;
+            editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
+            editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
+            repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
+            repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
+            this.gridColumn4.ColumnEdit = repositoryItemButtonEdit1;
             this.gridColumn4.MaxWidth = 60;
             this.gridColumn4.MinWidth = 60;
             this.gridColumn4.Name = "gridColumn4";
@@ -137,50 +211,202 @@
             this.gridColumn4.VisibleIndex = 3;
             this.gridColumn4.Width = 60;
             // 
-            // repositoryItemButtonEdit1
+            // xtraTabPage2
             // 
-            this.repositoryItemButtonEdit1.AutoHeight = false;
-            editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
-            editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
-            this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
-            this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
-            this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
-            this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick);
+            this.xtraTabPage2.Controls.Add(this.panQueryTop);
+            this.xtraTabPage2.Controls.Add(this.gcQuery);
+            this.xtraTabPage2.Controls.Add(this.panQueryBom);
+            this.xtraTabPage2.Name = "xtraTabPage2";
+            this.xtraTabPage2.Size = new System.Drawing.Size(734, 461);
+            this.xtraTabPage2.Text = "楂樼骇鏌ヨ閰嶇疆";
             // 
-            // panel1
+            // gcQuery
             // 
-            this.panel1.Controls.Add(this.btnEsc);
-            this.panel1.Controls.Add(this.btnQuery);
-            this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.panel1.Location = new System.Drawing.Point(0, 285);
-            this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(591, 56);
-            this.panel1.TabIndex = 1;
+            this.gcQuery.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.gcQuery.Location = new System.Drawing.Point(0, 44);
+            this.gcQuery.MainView = this.gvQuery;
+            this.gcQuery.Name = "gcQuery";
+            this.gcQuery.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
+            this.repositoryItemComboBoxSql});
+            this.gcQuery.Size = new System.Drawing.Size(734, 361);
+            this.gcQuery.TabIndex = 0;
+            this.gcQuery.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+            this.gvQuery});
             // 
-            // btnEsc
+            // gvQuery
             // 
-            this.btnEsc.Location = new System.Drawing.Point(391, 15);
-            this.btnEsc.Name = "btnEsc";
-            this.btnEsc.Size = new System.Drawing.Size(94, 29);
-            this.btnEsc.TabIndex = 1;
-            this.btnEsc.Text = "鍙栨秷";
+            this.gvQuery.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+            this.gridColumn5,
+            this.gridColumn6,
+            this.gridColumn7,
+            this.gridColumn8,
+            this.gridColumn9});
+            this.gvQuery.GridControl = this.gcQuery;
+            this.gvQuery.Name = "gvQuery";
             // 
-            // btnQuery
+            // gridColumn5
             // 
-            this.btnQuery.Location = new System.Drawing.Point(270, 15);
-            this.btnQuery.Name = "btnQuery";
-            this.btnQuery.Size = new System.Drawing.Size(94, 29);
-            this.btnQuery.TabIndex = 0;
-            this.btnQuery.Text = "纭畾鏌ヨ";
+            this.gridColumn5.Caption = "鍒楀悕";
+            this.gridColumn5.FieldName = "gvColName";
+            this.gridColumn5.MinWidth = 25;
+            this.gridColumn5.Name = "gridColumn5";
+            this.gridColumn5.Visible = true;
+            this.gridColumn5.VisibleIndex = 0;
+            this.gridColumn5.Width = 94;
+            // 
+            // gridColumn6
+            // 
+            this.gridColumn6.Caption = "鍒楁爣棰�";
+            this.gridColumn6.FieldName = "gvColCaption";
+            this.gridColumn6.MinWidth = 25;
+            this.gridColumn6.Name = "gridColumn6";
+            this.gridColumn6.Visible = true;
+            this.gridColumn6.VisibleIndex = 1;
+            this.gridColumn6.Width = 94;
+            // 
+            // gridColumn7
+            // 
+            this.gridColumn7.Caption = "瀵瑰簲瀛楁";
+            this.gridColumn7.ColumnEdit = this.repositoryItemComboBoxSql;
+            this.gridColumn7.FieldName = "gvTag";
+            this.gridColumn7.MinWidth = 25;
+            this.gridColumn7.Name = "gridColumn7";
+            this.gridColumn7.Visible = true;
+            this.gridColumn7.VisibleIndex = 2;
+            this.gridColumn7.Width = 94;
+            // 
+            // repositoryItemComboBoxSql
+            // 
+            this.repositoryItemComboBoxSql.AutoHeight = false;
+            this.repositoryItemComboBoxSql.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.repositoryItemComboBoxSql.Name = "repositoryItemComboBoxSql";
+            this.repositoryItemComboBoxSql.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
+            // 
+            // gridColumn8
+            // 
+            this.gridColumn8.Caption = "鏈�鍚庝慨鏀逛汉";
+            this.gridColumn8.FieldName = "lastUpdateBy";
+            this.gridColumn8.MinWidth = 25;
+            this.gridColumn8.Name = "gridColumn8";
+            this.gridColumn8.Visible = true;
+            this.gridColumn8.VisibleIndex = 3;
+            this.gridColumn8.Width = 94;
+            // 
+            // gridColumn9
+            // 
+            this.gridColumn9.Caption = "鏈�鍚庝慨鏀规椂闂�";
+            this.gridColumn9.FieldName = "lastUpdateDate";
+            this.gridColumn9.MinWidth = 25;
+            this.gridColumn9.Name = "gridColumn9";
+            this.gridColumn9.Visible = true;
+            this.gridColumn9.VisibleIndex = 4;
+            this.gridColumn9.Width = 94;
+            // 
+            // panQueryBom
+            // 
+            this.panQueryBom.Controls.Add(this.btnQueryEsc);
+            this.panQueryBom.Controls.Add(this.btnQuerySave);
+            this.panQueryBom.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.panQueryBom.Location = new System.Drawing.Point(0, 405);
+            this.panQueryBom.Name = "panQueryBom";
+            this.panQueryBom.Size = new System.Drawing.Size(734, 56);
+            this.panQueryBom.TabIndex = 2;
+            // 
+            // btnQueryEsc
+            // 
+            this.btnQueryEsc.Location = new System.Drawing.Point(391, 15);
+            this.btnQueryEsc.Name = "btnQueryEsc";
+            this.btnQueryEsc.Size = new System.Drawing.Size(94, 29);
+            this.btnQueryEsc.TabIndex = 1;
+            this.btnQueryEsc.Text = "鍙栨秷";
+            // 
+            // btnQuerySave
+            // 
+            this.btnQuerySave.Location = new System.Drawing.Point(270, 15);
+            this.btnQuerySave.Name = "btnQuerySave";
+            this.btnQuerySave.Size = new System.Drawing.Size(94, 29);
+            this.btnQuerySave.TabIndex = 0;
+            this.btnQuerySave.Text = "纭畾淇濆瓨";
+            // 
+            // panQueryTop
+            // 
+            this.panQueryTop.Controls.Add(this.layQuery);
+            this.panQueryTop.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panQueryTop.Location = new System.Drawing.Point(0, 0);
+            this.panQueryTop.Name = "panQueryTop";
+            this.panQueryTop.Size = new System.Drawing.Size(734, 44);
+            this.panQueryTop.TabIndex = 3;
+            // 
+            // layQuery
+            // 
+            this.layQuery.Controls.Add(this.txt_table);
+            this.layQuery.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.layQuery.Location = new System.Drawing.Point(2, 2);
+            this.layQuery.Name = "layQuery";
+            this.layQuery.Root = this.Root;
+            this.layQuery.Size = new System.Drawing.Size(730, 40);
+            this.layQuery.TabIndex = 283;
+            this.layQuery.Text = "layoutControl1";
+            // 
+            // Root
+            // 
+            this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+            this.Root.GroupBordersVisible = false;
+            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
+            this.layoutControlItem1});
+            this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
+            this.Root.Name = "Root";
+            columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition1.Width = 100D;
+            this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
+            columnDefinition1});
+            rowDefinition1.Height = 100D;
+            rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
+            this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
+            rowDefinition1});
+            this.Root.Size = new System.Drawing.Size(709, 48);
+            this.Root.TextVisible = false;
+            // 
+            // txt_table
+            // 
+            this.txt_table.Location = new System.Drawing.Point(69, 12);
+            this.txt_table.Name = "txt_table";
+            this.txt_table.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.txt_table.Size = new System.Drawing.Size(628, 24);
+            this.txt_table.StyleController = this.layQuery;
+            this.txt_table.TabIndex = 283;
+            // 
+            // layoutControlItem1
+            // 
+            this.layoutControlItem1.Control = this.txt_table;
+            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
+            this.layoutControlItem1.Name = "layoutControlItem1";
+            this.layoutControlItem1.Size = new System.Drawing.Size(689, 28);
+            this.layoutControlItem1.Text = "鍏宠仈琛�";
+            this.layoutControlItem1.TextSize = new System.Drawing.Size(45, 18);
+            // 
+            // repositoryItemComboBox1
+            // 
+            this.repositoryItemComboBox1.AutoHeight = false;
+            this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
+            // 
+            // repositoryItemComboBox2
+            // 
+            this.repositoryItemComboBox2.AutoHeight = false;
+            this.repositoryItemComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+            this.repositoryItemComboBox2.Name = "repositoryItemComboBox2";
             // 
             // ShowFilter
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(591, 341);
-            this.Controls.Add(this.gcMain);
-            this.Controls.Add(this.panel1);
+            this.ClientSize = new System.Drawing.Size(736, 493);
+            this.Controls.Add(this.xtraTabControl1);
             this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black;
             this.MaximizeBox = false;
             this.MinimizeBox = false;
@@ -188,29 +414,61 @@
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
             this.Text = "璇峰鍔犳煡璇㈡潯浠�";
             this.TopMost = true;
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
+            this.xtraTabControl1.ResumeLayout(false);
+            this.xtraTabPage1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(repositoryItemButtonEdit1)).EndInit();
+            this.xtraTabPage2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gcQuery)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gvQuery)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBoxSql)).EndInit();
+            this.panQueryBom.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.panQueryTop)).EndInit();
+            this.panQueryTop.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.layQuery)).EndInit();
+            this.layQuery.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_table.Properties)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
-            this.panel1.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }
 
         #endregion
-
-        private DevExpress.XtraGrid.GridControl gcMain;
-        private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
         private System.Windows.Forms.Panel panel1;
         private DevExpress.XtraEditors.SimpleButton btnEsc;
         private DevExpress.XtraEditors.SimpleButton btnQuery;
+        private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
+        private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
+        private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
+        private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
-        private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox1;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
-        private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox2;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
-        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
+        private DevExpress.XtraGrid.GridControl gcMain;
+        private System.Windows.Forms.Panel panQueryBom;
+        private DevExpress.XtraEditors.SimpleButton btnQueryEsc;
+        private DevExpress.XtraEditors.SimpleButton btnQuerySave;
+        private DevExpress.XtraGrid.GridControl gcQuery;
+        private DevExpress.XtraGrid.Views.Grid.GridView gvQuery;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
+        private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBoxSql;
+        private DevExpress.XtraEditors.PanelControl panQueryTop;
+        private DevExpress.XtraLayout.LayoutControl layQuery;
+        private DevExpress.XtraEditors.CheckedComboBoxEdit txt_table;
+        private DevExpress.XtraLayout.LayoutControlGroup Root;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+        private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox1;
+        private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox2;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3