From 291223fea1cc18ce9e7b17ece1c6cf1eeb99383c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 21 三月 2025 11:28:53 +0800 Subject: [PATCH] 查询 --- DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs | 305 ++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 220 insertions(+), 85 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs b/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs index 2a1112f..e9efef5 100644 --- a/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs @@ -29,6 +29,16 @@ /// </summary> private void InitializeComponent() { + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject(); + 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(); @@ -36,94 +46,37 @@ this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.panel1 = new System.Windows.Forms.Panel(); - this.btnEsc = new DevExpress.XtraEditors.SimpleButton(); - this.btnQuery = new DevExpress.XtraEditors.SimpleButton(); + this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.gcQuery = new DevExpress.XtraGrid.GridControl(); + this.gvQuery = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.panel2 = new System.Windows.Forms.Panel(); + this.btnQueryEsc = new DevExpress.XtraEditors.SimpleButton(); + this.btnQuerySave = new DevExpress.XtraEditors.SimpleButton(); + 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)(this.repositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).BeginInit(); - this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); + this.xtraTabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcQuery)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvQuery)).BeginInit(); + this.panel2.SuspendLayout(); this.SuspendLayout(); - // - // gcMain - // - this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; - 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.gcMain.Size = new System.Drawing.Size(511, 255); - this.gcMain.TabIndex = 0; - this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.gridView1}); - // - // gridView1 - // - this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gridColumn1, - this.gridColumn2, - this.gridColumn3}); - this.gridView1.GridControl = this.gcMain; - this.gridView1.Name = "gridView1"; - this.gridView1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; - // - // gridColumn1 - // - this.gridColumn1.Caption = "瀛楁"; - this.gridColumn1.ColumnEdit = this.repositoryItemComboBox1; - this.gridColumn1.FieldName = "field"; - this.gridColumn1.MinWidth = 25; - this.gridColumn1.Name = "gridColumn1"; - this.gridColumn1.Visible = true; - this.gridColumn1.VisibleIndex = 0; - this.gridColumn1.Width = 94; - // - // 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.ColumnEdit = this.repositoryItemComboBox2; - this.gridColumn2.FieldName = "fieldWhere"; - this.gridColumn2.MinWidth = 25; - this.gridColumn2.Name = "gridColumn2"; - this.gridColumn2.Visible = true; - this.gridColumn2.VisibleIndex = 1; - this.gridColumn2.Width = 94; - // - // 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.FieldName = "fieldValue"; - this.gridColumn3.MinWidth = 25; - this.gridColumn3.Name = "gridColumn3"; - this.gridColumn3.Visible = true; - this.gridColumn3.VisibleIndex = 2; - this.gridColumn3.Width = 94; // // 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, 255); + this.panel1.Location = new System.Drawing.Point(0, 405); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(511, 56); + this.panel1.Size = new System.Drawing.Size(734, 56); this.panel1.TabIndex = 1; // // btnEsc @@ -142,38 +95,220 @@ 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.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(734, 405); + this.gcMain.TabIndex = 0; + this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gridColumn1, + this.gridColumn2, + this.gridColumn3, + this.gridColumn4}); + this.gridView1.GridControl = this.gcMain; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; + // + // gridColumn1 + // + this.gridColumn1.Caption = "瀛楁"; + this.gridColumn1.ColumnEdit = this.repositoryItemComboBox1; + this.gridColumn1.FieldName = "field"; + this.gridColumn1.MinWidth = 25; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Visible = true; + 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.ColumnEdit = this.repositoryItemComboBox2; + this.gridColumn2.FieldName = "fieldWhere"; + this.gridColumn2.MinWidth = 25; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + 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.FieldName = "fieldValue"; + this.gridColumn3.MinWidth = 25; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 2; + this.gridColumn3.Width = 100; + // + // gridColumn4 + // + this.gridColumn4.Caption = "绉诲嚭"; + this.gridColumn4.ColumnEdit = this.repositoryItemButtonEdit1; + this.gridColumn4.MaxWidth = 60; + this.gridColumn4.MinWidth = 60; + this.gridColumn4.Name = "gridColumn4"; + this.gridColumn4.Visible = true; + this.gridColumn4.VisibleIndex = 3; + this.gridColumn4.Width = 60; + // + // repositoryItemButtonEdit1 + // + this.repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions3.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions3.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, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", 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); + // + // xtraTabPage2 + // + this.xtraTabPage2.Controls.Add(this.panel2); + this.xtraTabPage2.Controls.Add(this.gcQuery); + this.xtraTabPage2.Name = "xtraTabPage2"; + this.xtraTabPage2.Size = new System.Drawing.Size(734, 461); + this.xtraTabPage2.Text = "楂樼骇鏌ヨ閰嶇疆"; + // + // gcQuery + // + this.gcQuery.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcQuery.Location = new System.Drawing.Point(0, 0); + this.gcQuery.MainView = this.gvQuery; + this.gcQuery.Name = "gcQuery"; + this.gcQuery.Size = new System.Drawing.Size(734, 461); + this.gcQuery.TabIndex = 0; + this.gcQuery.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvQuery}); + // + // gvQuery + // + this.gvQuery.GridControl = this.gcQuery; + this.gvQuery.Name = "gvQuery"; + // + // panel2 + // + this.panel2.Controls.Add(this.btnQueryEsc); + this.panel2.Controls.Add(this.btnQuerySave); + this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel2.Location = new System.Drawing.Point(0, 405); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(734, 56); + this.panel2.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 = "纭畾淇濆瓨"; + // // ShowFilter // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(511, 311); - 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; this.Name = "ShowFilter"; 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)(this.repositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox2)).EndInit(); - this.panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); + this.xtraTabPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcQuery)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvQuery)).EndInit(); + this.panel2.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.XtraGrid.Columns.GridColumn gridColumn1; + private DevExpress.XtraTab.XtraTabControl xtraTabControl1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage2; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox1; - private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox2; + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; + private DevExpress.XtraGrid.GridControl gcMain; + private System.Windows.Forms.Panel panel2; + private DevExpress.XtraEditors.SimpleButton btnQueryEsc; + private DevExpress.XtraEditors.SimpleButton btnQuerySave; + private DevExpress.XtraGrid.GridControl gcQuery; + private DevExpress.XtraGrid.Views.Grid.GridView gvQuery; } } \ No newline at end of file -- Gitblit v1.9.3