📄 clientsearchfrom.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using HotelsManage.BusinessLevel;
namespace HotelsManage.UILevel
{
/// <summary>
/// ClientSearchFrom 的摘要说明。
/// </summary>
public class ClientSearchFrom : System.Windows.Forms.Form
{
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button btnCheck;
private System.Windows.Forms.Button btnExit;
private System.Windows.Forms.Button btnSearch;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.ColumnHeader columnHeader5;
private System.Windows.Forms.ColumnHeader columnHeader6;
private System.Windows.Forms.ColumnHeader columnHeader7;
private System.Windows.Forms.ColumnHeader columnHeader8;
private System.Windows.Forms.TextBox txtClientID;
private System.Windows.Forms.Button btnLivingRoom;
private System.Windows.Forms.Button btnAllRoom;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public ClientSearchFrom()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ClientSearchFrom));
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.txtClientID = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.btnLivingRoom = new System.Windows.Forms.Button();
this.btnCheck = new System.Windows.Forms.Button();
this.btnExit = new System.Windows.Forms.Button();
this.btnAllRoom = new System.Windows.Forms.Button();
this.btnSearch = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
this.columnHeader8 = new System.Windows.Forms.ColumnHeader();
this.groupBox1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.txtClientID);
this.groupBox1.ForeColor = System.Drawing.SystemColors.Desktop;
this.groupBox1.Location = new System.Drawing.Point(184, 8);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(232, 56);
this.groupBox1.TabIndex = 24;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "输入查询条件";
//
// label1
//
this.label1.BackColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(16, 24);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(48, 25);
this.label1.TabIndex = 1;
this.label1.Text = "客户号";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// txtClientID
//
this.txtClientID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtClientID.Location = new System.Drawing.Point(64, 24);
this.txtClientID.Multiline = true;
this.txtClientID.Name = "txtClientID";
this.txtClientID.Size = new System.Drawing.Size(136, 20);
this.txtClientID.TabIndex = 0;
this.txtClientID.Text = "";
//
// panel2
//
this.panel2.BackColor = System.Drawing.SystemColors.Window;
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Controls.Add(this.btnLivingRoom);
this.panel2.Controls.Add(this.btnCheck);
this.panel2.Controls.Add(this.btnExit);
this.panel2.Controls.Add(this.btnAllRoom);
this.panel2.Controls.Add(this.btnSearch);
this.panel2.Controls.Add(this.btnCancel);
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
this.panel2.ForeColor = System.Drawing.SystemColors.Desktop;
this.panel2.Location = new System.Drawing.Point(640, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(88, 470);
this.panel2.TabIndex = 25;
//
// btnLivingRoom
//
this.btnLivingRoom.BackColor = System.Drawing.SystemColors.Window;
this.btnLivingRoom.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnLivingRoom.ForeColor = System.Drawing.SystemColors.Desktop;
this.btnLivingRoom.Image = ((System.Drawing.Image)(resources.GetObject("btnLivingRoom.Image")));
this.btnLivingRoom.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnLivingRoom.Location = new System.Drawing.Point(16, 112);
this.btnLivingRoom.Name = "btnLivingRoom";
this.btnLivingRoom.Size = new System.Drawing.Size(56, 24);
this.btnLivingRoom.TabIndex = 23;
this.btnLivingRoom.Text = "在住";
this.btnLivingRoom.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnLivingRoom.Click += new System.EventHandler(this.btnLivingRoom_Click);
//
// btnCheck
//
this.btnCheck.BackColor = System.Drawing.SystemColors.Window;
this.btnCheck.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCheck.ForeColor = System.Drawing.SystemColors.Desktop;
this.btnCheck.Image = ((System.Drawing.Image)(resources.GetObject("btnCheck.Image")));
this.btnCheck.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnCheck.Location = new System.Drawing.Point(16, 184);
this.btnCheck.Name = "btnCheck";
this.btnCheck.Size = new System.Drawing.Size(56, 24);
this.btnCheck.TabIndex = 21;
this.btnCheck.Text = "结帐";
this.btnCheck.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnCheck.Click += new System.EventHandler(this.btnCheck_Click);
//
// btnExit
//
this.btnExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
this.btnExit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnExit.Location = new System.Drawing.Point(16, 304);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(56, 23);
this.btnExit.TabIndex = 15;
this.btnExit.Text = "退出";
this.btnExit.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// btnAllRoom
//
this.btnAllRoom.BackColor = System.Drawing.SystemColors.Window;
this.btnAllRoom.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnAllRoom.ForeColor = System.Drawing.SystemColors.Desktop;
this.btnAllRoom.Image = ((System.Drawing.Image)(resources.GetObject("btnAllRoom.Image")));
this.btnAllRoom.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnAllRoom.Location = new System.Drawing.Point(16, 72);
this.btnAllRoom.Name = "btnAllRoom";
this.btnAllRoom.Size = new System.Drawing.Size(56, 24);
this.btnAllRoom.TabIndex = 22;
this.btnAllRoom.Text = "全部";
this.btnAllRoom.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnAllRoom.Click += new System.EventHandler(this.btnAllRoom_Click);
//
// btnSearch
//
this.btnSearch.BackColor = System.Drawing.SystemColors.Window;
this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSearch.ForeColor = System.Drawing.SystemColors.Desktop;
this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image")));
this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnSearch.Location = new System.Drawing.Point(16, 40);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(56, 24);
this.btnSearch.TabIndex = 20;
this.btnSearch.Text = "查找";
this.btnSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// btnCancel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -