但是它的代码还在:
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.btnBookIn = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.btnNotFull = new System.Windows.Forms.Button();
this.btnEmptyRoom = new System.Windows.Forms.Button();
this.btnSearch = new System.Windows.Forms.Button();
this.textRemark = new System.Windows.Forms.TextBox();
this.comboRoomPosition = new System.Windows.Forms.ComboBox();
this.comboRoomType = new System.Windows.Forms.ComboBox();
this.comboFactPeopleNum = new System.Windows.Forms.ComboBox();
this.comboPeopleNum = new System.Windows.Forms.ComboBox();
this.textRoomID = new System.Windows.Forms.TextBox();
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.btnExit = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(168, 64);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 23);
this.label1.TabIndex = 0;
this.label1.Text = "实际人数";
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 24);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(48, 23);
this.label2.TabIndex = 1;
this.label2.Text = "房间号";
//
// label3
//
this.label3.Location = new System.Drawing.Point(168, 32);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(56, 23);
this.label3.TabIndex = 2;
this.label3.Text = "房间类型";
//
// label4
//
this.label4.Location = new System.Drawing.Point(296, 32);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(56, 23);
this.label4.TabIndex = 3;
this.label4.Text = "房间楼层";
//
// label5
//
this.label5.Location = new System.Drawing.Point(32, 64);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(56, 16);
this.label5.TabIndex = 4;
this.label5.Text = "额定人数";
//
// label6
//
this.label6.Location = new System.Drawing.Point(40, 104);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(56, 16);
this.label6.TabIndex = 5;
this.label6.Text = "其它条件";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.btnBookIn);
this.groupBox1.Controls.Add(this.btnCancel);
this.groupBox1.Controls.Add(this.btnNotFull);
this.groupBox1.Controls.Add(this.btnEmptyRoom);
this.groupBox1.Controls.Add(this.btnSearch);
this.groupBox1.Controls.Add(this.textRemark);
this.groupBox1.Controls.Add(this.comboRoomPosition);
this.groupBox1.Controls.Add(this.comboRoomType);
this.groupBox1.Controls.Add(this.comboFactPeopleNum);
this.groupBox1.Controls.Add(this.comboPeopleNum);
this.groupBox1.Controls.Add(this.textRoomID);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Location = new System.Drawing.Point(16, 8);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(408, 168);
this.groupBox1.TabIndex = 6;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "输入查询条件";
//
// btnBookIn
//
this.btnBookIn.Location = new System.Drawing.Point(304, 128);
this.btnBookIn.Name = "btnBookIn";
this.btnBookIn.Size = new System.Drawing.Size(48, 23);
this.btnBookIn.TabIndex = 10;
this.btnBookIn.Text = "入住";
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(240, 128);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(48, 23);
this.btnCancel.TabIndex = 9;
this.btnCancel.Text = "取消";
//
// btnNotFull
//
this.btnNotFull.Location = new System.Drawing.Point(176, 128);
this.btnNotFull.Name = "btnNotFull";
this.btnNotFull.Size = new System.Drawing.Size(48, 23);
this.btnNotFull.TabIndex = 8;
this.btnNotFull.Text = "未满";
//
// btnEmptyRoom
//
this.btnEmptyRoom.Location = new System.Drawing.Point(112, 128);
this.btnEmptyRoom.Name = "btnEmptyRoom";
this.btnEmptyRoom.Size = new System.Drawing.Size(48, 23);
this.btnEmptyRoom.TabIndex = 7;
this.btnEmptyRoom.Text = "空房";
//
// btnSearch
//
this.btnSearch.Location = new System.Drawing.Point(48, 128);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(48, 23);
this.btnSearch.TabIndex = 6;
this.btnSearch.Text = "查找";
//
// textRemark
//
this.textRemark.Location = new System.Drawing.Point(80, 88);
this.textRemark.Name = "textRemark";
this.textRemark.Size = new System.Drawing.Size(264, 21);
this.textRemark.TabIndex = 5;
this.textRemark.Text = "";
//
// comboRoomPosition
//
this.comboRoomPosition.Items.AddRange(new object[] {
"一层",
"二层",
"三层"});
this.comboRoomPosition.Location = new System.Drawing.Point(344, 16);
this.comboRoomPosition.Name = "comboRoomPosition";
this.comboRoomPosition.Size = new System.Drawing.Size(56, 20);
this.comboRoomPosition.TabIndex = 3;
//
// comboRoomType
//
this.comboRoomType.Items.AddRange(new object[] {
"标准间",
"双人间",
"三人间",
"四人间"});
this.comboRoomType.Location = new System.Drawing.Point(216, 16);
this.comboRoomType.Name = "comboRoomType";
this.comboRoomType.Size = new System.Drawing.Size(56, 20);
this.comboRoomType.TabIndex = 2;
//
// comboFactPeopleNum
//
this.comboFactPeopleNum.Items.AddRange(new object[] {
"1",
"2",
"3",
"4"});
this.comboFactPeopleNum.Location = new System.Drawing.Point(216, 48);
this.comboFactPeopleNum.Name = "comboFactPeopleNum";
this.comboFactPeopleNum.Size = new System.Drawing.Size(56, 20);
this.comboFactPeopleNum.TabIndex = 1;
//
// comboPeopleNum
//
this.comboPeopleNum.Items.AddRange(new object[] {
"1",
"2",
"3",
"4"});
this.comboPeopleNum.Location = new System.Drawing.Point(72, 48);
this.comboPeopleNum.Name = "comboPeopleNum";
this.comboPeopleNum.Size = new System.Drawing.Size(64, 20);
this.comboPeopleNum.TabIndex = 0;
//
// textRoomID
//
this.textRoomID.Location = new System.Drawing.Point(72, 16);
this.textRoomID.Name = "textRoomID";
this.textRoomID.Size = new System.Drawing.Size(64, 21);
this.textRoomID.TabIndex = 4;
this.textRoomID.Text = "";
//
// listView1
//
this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.listView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2,
this.columnHeader3,
this.columnHeader4,
this.columnHeader5,
this.columnHeader6});
this.listView1.ForeColor = System.Drawing.SystemColors.Desktop;
this.listView1.FullRowSelect = true;
this.listView1.GridLines = true;
this.listView1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.listView1.Location = new System.Drawing.Point(0, 0);
this.listView1.Name = "listView1";
this.listView1.TabIndex = 0;
//
// btnExit
//
this.btnExit.Location = new System.Drawing.Point(0, 0);
this.btnExit.Name = "btnExit";
this.btnExit.TabIndex = 0;
//
// RoomSearch
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(376, 245);
this.Name = "RoomSearch";
this.groupBox1.ResumeLayout(false);
});
this.listView1.Location = new System.Drawing.Point(16, 192);
this.listView1.MultiSelect = false;
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(408, 136);
this.listView1.TabIndex = 21;
//
// columnHeader1
//
this.columnHeader1.Text = "房间号";
//
// columnHeader2
//
this.columnHeader2.Text = "房间类型";
//
// columnHeader3
//
this.columnHeader3.Text = "房间楼层";
//
// columnHeader4
//
this.columnHeader4.Text = "额定人数";
//
// columnHeader5
//
this.columnHeader5.Text = "实际人数";
//
// columnHeader6
//
this.columnHeader6.Text = "备注";
//
// btnExit
//
this.btnExit.Location = new System.Drawing.Point(184, 344);
this.btnExit.Name = "btnExit";
this.btnExit.TabIndex = 11;
this.btnExit.Text = "退出";
//
// RoomSearch
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(448, 373);
this.Controls.Add(this.listView1);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label1);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.btnExit);
this.Name = "RoomSearch";
this.Text = "客房查询";
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
一句话,什么玩意啊?