From a9c9f13461dbe9ab88677d94f9033db30a6558b0 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 23 十月 2024 16:40:09 +0800 Subject: [PATCH] 增加了一个测试窗体 --- DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs | 143 +++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 136 insertions(+), 7 deletions(-) diff --git a/DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs b/DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs index e4bacc6..527b7c1 100644 --- a/DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs +++ b/DevApp/Gs.DevApp/TestForm/XtraForm1.Designer.cs @@ -1,5 +1,4 @@ -锘� -namespace Gs.DevApp.TestForm +锘縩amespace Gs.DevApp.TestForm { partial class XtraForm1 { @@ -29,32 +28,162 @@ /// </summary> private void InitializeComponent() { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(XtraForm1)); + this.button1 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.lbMsg2 = new System.Windows.Forms.Label(); + this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); + this.lookSearchSupplier = new DevExpress.XtraEditors.SearchLookUpEdit(); + this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); + ((System.ComponentModel.ISupportInitialize)(this.lookSearchSupplier.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit(); this.SuspendLayout(); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(92, 141); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 0; + this.button1.Text = "button1"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(92, 52); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(194, 26); + this.textBox1.TabIndex = 1; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(92, 102); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(44, 18); + this.label1.TabIndex = 2; + this.label1.Text = "label1"; + // + // lbMsg2 + // + this.lbMsg2.AutoSize = true; + this.lbMsg2.Location = new System.Drawing.Point(92, 208); + this.lbMsg2.Name = "lbMsg2"; + this.lbMsg2.Size = new System.Drawing.Size(44, 18); + this.lbMsg2.TabIndex = 3; + this.lbMsg2.Text = "label2"; + // + // simpleButton2 + // + this.simpleButton2.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton2.ImageOptions.Image"))); + this.simpleButton2.Location = new System.Drawing.Point(392, 31); + this.simpleButton2.Name = "simpleButton2"; + this.simpleButton2.Size = new System.Drawing.Size(94, 66); + this.simpleButton2.TabIndex = 5; + this.simpleButton2.Text = "simpleButton2"; // // simpleButton1 // - this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.cleartablestyle_16x16; - this.simpleButton1.Location = new System.Drawing.Point(172, 118); + this.simpleButton1.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.group2_32x32; + this.simpleButton1.Location = new System.Drawing.Point(521, 12); this.simpleButton1.Name = "simpleButton1"; - this.simpleButton1.Size = new System.Drawing.Size(94, 29); - this.simpleButton1.TabIndex = 0; + this.simpleButton1.Size = new System.Drawing.Size(170, 85); + this.simpleButton1.TabIndex = 4; this.simpleButton1.Text = "simpleButton1"; + // + // lookSearchSupplier + // + this.lookSearchSupplier.Location = new System.Drawing.Point(418, 171); + this.lookSearchSupplier.Name = "lookSearchSupplier"; + this.lookSearchSupplier.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lookSearchSupplier.Properties.Appearance.Options.UseFont = true; + this.lookSearchSupplier.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.lookSearchSupplier.Properties.PopupView = this.searchLookUpEdit1View; + this.lookSearchSupplier.Size = new System.Drawing.Size(309, 28); + this.lookSearchSupplier.TabIndex = 6; + // + // searchLookUpEdit1View + // + this.searchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gridColumn2, + this.gridColumn3, + this.gridColumn1, + this.gridColumn4}); + this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; + this.searchLookUpEdit1View.Name = "searchLookUpEdit1View"; + this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; + this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false; + // + // gridColumn2 + // + this.gridColumn2.Caption = "渚涘簲鍟嗙紪鍙�"; + this.gridColumn2.FieldName = "suppNo"; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 0; + // + // gridColumn3 + // + this.gridColumn3.Caption = "渚涘簲鍟嗗悕绉�"; + this.gridColumn3.FieldName = "suppName"; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Visible = true; + this.gridColumn3.VisibleIndex = 1; + // + // gridColumn1 + // + this.gridColumn1.Caption = "id"; + this.gridColumn1.FieldName = "id"; + this.gridColumn1.Name = "gridColumn1"; + // + // gridColumn4 + // + this.gridColumn4.Caption = "guid"; + this.gridColumn4.FieldName = "guid"; + this.gridColumn4.Name = "gridColumn4"; // // XtraForm1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(651, 260); + this.ClientSize = new System.Drawing.Size(890, 396); + this.Controls.Add(this.lookSearchSupplier); + this.Controls.Add(this.simpleButton2); this.Controls.Add(this.simpleButton1); + this.Controls.Add(this.lbMsg2); + this.Controls.Add(this.label1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.button1); this.Name = "XtraForm1"; this.Text = "XtraForm1"; + ((System.ComponentModel.ISupportInitialize)(this.lookSearchSupplier.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } #endregion + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label lbMsg2; private DevExpress.XtraEditors.SimpleButton simpleButton1; + private DevExpress.XtraEditors.SimpleButton simpleButton2; + private DevExpress.XtraEditors.SearchLookUpEdit lookSearchSupplier; + private DevExpress.XtraGrid.Views.Grid.GridView searchLookUpEdit1View; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; } } \ No newline at end of file -- Gitblit v1.9.3