📄 search.designer.cs
字号:
namespace BookStore.Forms
{
partial class Search
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.cb_Search = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.tb_Search = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.btn_Search = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.dg_Search = new System.Windows.Forms.DataGrid();
this.lbl_Info = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dg_Search)).BeginInit();
this.SuspendLayout();
//
// cb_Search
//
this.cb_Search.FormattingEnabled = true;
this.cb_Search.Items.AddRange(new object[] {
"销售日期",
"销售人员",
"制单人",
"客户姓名"});
this.cb_Search.Location = new System.Drawing.Point(77, 21);
this.cb_Search.Name = "cb_Search";
this.cb_Search.Size = new System.Drawing.Size(121, 20);
this.cb_Search.TabIndex = 0;
this.cb_Search.SelectedIndexChanged += new System.EventHandler(this.cb_Search_SelectedIndexChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(204, 25);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 1;
this.label1.Text = "关键字:";
//
// tb_Search
//
this.tb_Search.Location = new System.Drawing.Point(263, 21);
this.tb_Search.Name = "tb_Search";
this.tb_Search.Size = new System.Drawing.Size(289, 21);
this.tb_Search.TabIndex = 2;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 25);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(65, 12);
this.label2.TabIndex = 3;
this.label2.Text = "搜索条件:";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.btn_Search);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.cb_Search);
this.groupBox1.Controls.Add(this.tb_Search);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(596, 55);
this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false;
//
// btn_Search
//
this.btn_Search.Location = new System.Drawing.Point(558, 20);
this.btn_Search.Name = "btn_Search";
this.btn_Search.Size = new System.Drawing.Size(32, 23);
this.btn_Search.TabIndex = 4;
this.btn_Search.Text = "搜";
this.btn_Search.UseVisualStyleBackColor = true;
this.btn_Search.Click += new System.EventHandler(this.btn_Search_Click);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.dg_Search);
this.groupBox2.Location = new System.Drawing.Point(10, 108);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(598, 360);
this.groupBox2.TabIndex = 5;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "搜索结果";
//
// dg_Search
//
this.dg_Search.AlternatingBackColor = System.Drawing.Color.GhostWhite;
this.dg_Search.BackColor = System.Drawing.Color.GhostWhite;
this.dg_Search.BackgroundColor = System.Drawing.Color.Lavender;
this.dg_Search.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dg_Search.CaptionBackColor = System.Drawing.Color.RoyalBlue;
this.dg_Search.CaptionForeColor = System.Drawing.Color.White;
this.dg_Search.DataMember = "";
this.dg_Search.FlatMode = true;
this.dg_Search.Font = new System.Drawing.Font("Tahoma", 8F);
this.dg_Search.ForeColor = System.Drawing.Color.MidnightBlue;
this.dg_Search.GridLineColor = System.Drawing.Color.RoyalBlue;
this.dg_Search.HeaderBackColor = System.Drawing.Color.MidnightBlue;
this.dg_Search.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
this.dg_Search.HeaderForeColor = System.Drawing.Color.Lavender;
this.dg_Search.LinkColor = System.Drawing.Color.Teal;
this.dg_Search.Location = new System.Drawing.Point(6, 20);
this.dg_Search.Name = "dg_Search";
this.dg_Search.ParentRowsBackColor = System.Drawing.Color.Lavender;
this.dg_Search.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
this.dg_Search.SelectionBackColor = System.Drawing.Color.Teal;
this.dg_Search.SelectionForeColor = System.Drawing.Color.PaleGreen;
this.dg_Search.Size = new System.Drawing.Size(586, 334);
this.dg_Search.TabIndex = 0;
this.dg_Search.DoubleClick += new System.EventHandler(this.dg_Search_DoubleClick);
//
// lbl_Info
//
this.lbl_Info.AutoSize = true;
this.lbl_Info.BackColor = System.Drawing.SystemColors.Control;
this.lbl_Info.Font = new System.Drawing.Font("楷体_GB2312", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbl_Info.ForeColor = System.Drawing.Color.Red;
this.lbl_Info.Location = new System.Drawing.Point(10, 80);
this.lbl_Info.Name = "lbl_Info";
this.lbl_Info.Size = new System.Drawing.Size(0, 16);
this.lbl_Info.TabIndex = 6;
//
// Search
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(622, 482);
this.Controls.Add(this.lbl_Info);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Name = "Search";
this.Text = "销售单搜索";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dg_Search)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ComboBox cb_Search;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox tb_Search;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button btn_Search;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.DataGrid dg_Search;
private System.Windows.Forms.Label lbl_Info;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -