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 | 188 +++++++++++++++++++++++++++++++++++----------- 1 files changed, 143 insertions(+), 45 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs b/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs index c023f26..e9efef5 100644 --- a/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/ShowFilter.Designer.cs @@ -29,11 +29,16 @@ /// </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(); + 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(); @@ -43,16 +48,72 @@ this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); - this.panel1 = new System.Windows.Forms.Panel(); - this.btnEsc = new DevExpress.XtraEditors.SimpleButton(); - this.btnQuery = new DevExpress.XtraEditors.SimpleButton(); + 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(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); - this.panel1.SuspendLayout(); + this.xtraTabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcQuery)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvQuery)).BeginInit(); + this.panel2.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 // @@ -64,7 +125,7 @@ this.repositoryItemComboBox1, this.repositoryItemComboBox2, this.repositoryItemButtonEdit1}); - this.gcMain.Size = new System.Drawing.Size(591, 285); + 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}); @@ -100,7 +161,7 @@ // // gridColumn2 // - this.gridColumn2.Caption = "鏉′欢"; + this.gridColumn2.Caption = "鏌ヨ鏉′欢"; this.gridColumn2.ColumnEdit = this.repositoryItemComboBox2; this.gridColumn2.FieldName = "fieldWhere"; this.gridColumn2.MinWidth = 25; @@ -118,7 +179,7 @@ // // gridColumn3 // - this.gridColumn3.Caption = "鍊�"; + this.gridColumn3.Caption = "鏌ヨ鍊�"; this.gridColumn3.FieldName = "fieldValue"; this.gridColumn3.MinWidth = 25; this.gridColumn3.Name = "gridColumn3"; @@ -140,47 +201,70 @@ // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; - editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; - editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + 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, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); + 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); // - // panel1 + // xtraTabPage2 // - 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.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 = "楂樼骇鏌ヨ閰嶇疆"; // - // btnEsc + // gcQuery // - 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.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}); // - // btnQuery + // gvQuery // - 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.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(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 +272,43 @@ 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(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); - this.panel1.ResumeLayout(false); + 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.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + 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