📄 frmaddroom.designer.cs
字号:
namespace Hotel.UI
{
partial class frmAddRoom
{
/// <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.label1 = new System.Windows.Forms.Label();
this.cboRoomType = new System.Windows.Forms.ComboBox();
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.btnSave = new System.Windows.Forms.Button();
this.btnExit = new System.Windows.Forms.Button();
this.txtRoomName = new System.Windows.Forms.TextBox();
this.txtAddress = new System.Windows.Forms.TextBox();
this.txtPhone = new System.Windows.Forms.TextBox();
this.txtRemark = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.cboState = new System.Windows.Forms.ComboBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(7, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(59, 12);
this.label1.TabIndex = 0;
this.label1.Text = "客房类型:";
//
// cboRoomType
//
this.cboRoomType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboRoomType.FormattingEnabled = true;
this.cboRoomType.Location = new System.Drawing.Point(67, 20);
this.cboRoomType.Name = "cboRoomType";
this.cboRoomType.Size = new System.Drawing.Size(120, 20);
this.cboRoomType.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(7, 57);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(59, 12);
this.label2.TabIndex = 0;
this.label2.Text = "客房编号:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(7, 91);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(59, 12);
this.label3.TabIndex = 0;
this.label3.Text = "客房位置:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(7, 125);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(59, 12);
this.label4.TabIndex = 0;
this.label4.Text = "客房电话:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(7, 159);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(35, 12);
this.label5.TabIndex = 0;
this.label5.Text = "状态:";
//
// btnSave
//
this.btnSave.Location = new System.Drawing.Point(56, 240);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(55, 25);
this.btnSave.TabIndex = 2;
this.btnSave.Text = "保存(&S)";
this.btnSave.UseVisualStyleBackColor = true;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// btnExit
//
this.btnExit.Location = new System.Drawing.Point(147, 240);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(55, 25);
this.btnExit.TabIndex = 2;
this.btnExit.Text = "取消(&E)";
this.btnExit.UseVisualStyleBackColor = true;
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// txtRoomName
//
this.txtRoomName.Location = new System.Drawing.Point(67, 53);
this.txtRoomName.MaxLength = 5;
this.txtRoomName.Name = "txtRoomName";
this.txtRoomName.Size = new System.Drawing.Size(159, 21);
this.txtRoomName.TabIndex = 3;
this.txtRoomName.Text = "GR";
//
// txtAddress
//
this.txtAddress.Location = new System.Drawing.Point(67, 87);
this.txtAddress.Name = "txtAddress";
this.txtAddress.Size = new System.Drawing.Size(159, 21);
this.txtAddress.TabIndex = 3;
//
// txtPhone
//
this.txtPhone.Location = new System.Drawing.Point(67, 121);
this.txtPhone.MaxLength = 5;
this.txtPhone.Name = "txtPhone";
this.txtPhone.Size = new System.Drawing.Size(159, 21);
this.txtPhone.TabIndex = 3;
//
// txtRemark
//
this.txtRemark.Location = new System.Drawing.Point(67, 188);
this.txtRemark.Name = "txtRemark";
this.txtRemark.Size = new System.Drawing.Size(159, 21);
this.txtRemark.TabIndex = 3;
this.txtRemark.Text = "无";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(7, 193);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(35, 12);
this.label6.TabIndex = 0;
this.label6.Text = "备注:";
//
// cboState
//
this.cboState.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboState.FormattingEnabled = true;
this.cboState.Items.AddRange(new object[] {
"可供",
"停用",
"维修"});
this.cboState.Location = new System.Drawing.Point(67, 155);
this.cboState.Name = "cboState";
this.cboState.Size = new System.Drawing.Size(120, 20);
this.cboState.TabIndex = 1;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.txtRemark);
this.groupBox1.Controls.Add(this.txtPhone);
this.groupBox1.Controls.Add(this.txtAddress);
this.groupBox1.Controls.Add(this.txtRoomName);
this.groupBox1.Controls.Add(this.cboState);
this.groupBox1.Controls.Add(this.cboRoomType);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(15, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(239, 222);
this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "客房信息";
//
// frmAddRoom
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(266, 271);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.btnExit);
this.Controls.Add(this.btnSave);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmAddRoom";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "添加客房";
this.Load += new System.EventHandler(this.frmAddRoom_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cboRoomType;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.Button btnExit;
private System.Windows.Forms.TextBox txtRoomName;
private System.Windows.Forms.TextBox txtAddress;
private System.Windows.Forms.TextBox txtPhone;
private System.Windows.Forms.TextBox txtRemark;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ComboBox cboState;
private System.Windows.Forms.GroupBox groupBox1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -