📄 roomsettingform.designer.cs
字号:
//
// tsBtnDelete
//
this.tsBtnDelete.Image = ((System.Drawing.Image)(resources.GetObject("tsBtnDelete.Image")));
this.tsBtnDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsBtnDelete.Name = "tsBtnDelete";
this.tsBtnDelete.Size = new System.Drawing.Size(35, 33);
this.tsBtnDelete.Text = "删除";
this.tsBtnDelete.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsBtnDelete.Click += new System.EventHandler(this.tsBtnDelete_Click);
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsBntAdd,
this.tsBntUpdate,
this.tsBtnDelete,
this.tsBtnSave,
this.tsBtnCancel,
this.tsBtnExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(609, 36);
this.toolStrip1.TabIndex = 13;
this.toolStrip1.Text = "toolStrip1";
//
// tsBntAdd
//
this.tsBntAdd.Image = ((System.Drawing.Image)(resources.GetObject("tsBntAdd.Image")));
this.tsBntAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsBntAdd.Name = "tsBntAdd";
this.tsBntAdd.Size = new System.Drawing.Size(35, 33);
this.tsBntAdd.Text = "新增";
this.tsBntAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsBntAdd.Click += new System.EventHandler(this.tsBntAdd_Click);
//
// tsBntUpdate
//
this.tsBntUpdate.Image = ((System.Drawing.Image)(resources.GetObject("tsBntUpdate.Image")));
this.tsBntUpdate.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsBntUpdate.Name = "tsBntUpdate";
this.tsBntUpdate.Size = new System.Drawing.Size(35, 33);
this.tsBntUpdate.Text = "修改";
this.tsBntUpdate.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsBntUpdate.Click += new System.EventHandler(this.tsBntUpdate_Click);
//
// dataGridView1
//
this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.RoomID,
this.Number,
this.TypeID,
this.BedNumber,
this.State,
this.GuestNumber,
this.Description});
this.dataGridView1.Location = new System.Drawing.Point(12, 95);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView1.Size = new System.Drawing.Size(587, 161);
this.dataGridView1.TabIndex = 15;
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
//
// RoomID
//
this.RoomID.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.RoomID.DataPropertyName = "RoomID";
this.RoomID.HeaderText = "RoomID";
this.RoomID.Name = "RoomID";
this.RoomID.ReadOnly = true;
this.RoomID.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.RoomID.Visible = false;
//
// Number
//
this.Number.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Number.DataPropertyName = "Number";
this.Number.HeaderText = "房间号";
this.Number.Name = "Number";
this.Number.ReadOnly = true;
this.Number.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// TypeID
//
this.TypeID.DataPropertyName = "TypeID";
this.TypeID.HeaderText = "TypeID";
this.TypeID.Name = "TypeID";
this.TypeID.ReadOnly = true;
this.TypeID.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.TypeID.Visible = false;
//
// BedNumber
//
this.BedNumber.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.BedNumber.DataPropertyName = "BedNumber";
this.BedNumber.HeaderText = "床位数";
this.BedNumber.Name = "BedNumber";
this.BedNumber.ReadOnly = true;
this.BedNumber.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// State
//
this.State.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.State.DataPropertyName = "State";
this.State.HeaderText = "状态";
this.State.Name = "State";
this.State.ReadOnly = true;
this.State.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// GuestNumber
//
this.GuestNumber.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.GuestNumber.DataPropertyName = "GuestNumber";
this.GuestNumber.HeaderText = "入住人数";
this.GuestNumber.Name = "GuestNumber";
this.GuestNumber.ReadOnly = true;
this.GuestNumber.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// Description
//
this.Description.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Description.DataPropertyName = "Description";
this.Description.HeaderText = "描述";
this.Description.Name = "Description";
this.Description.ReadOnly = true;
this.Description.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// lblRoomID
//
this.lblRoomID.AutoSize = true;
this.lblRoomID.Location = new System.Drawing.Point(82, 20);
this.lblRoomID.Name = "lblRoomID";
this.lblRoomID.Size = new System.Drawing.Size(47, 12);
this.lblRoomID.TabIndex = 0;
this.lblRoomID.Text = "房间号:";
//
// btnSearch
//
this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image")));
this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnSearch.Location = new System.Drawing.Point(448, 15);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(94, 23);
this.btnSearch.TabIndex = 2;
this.btnSearch.Text = "查询";
this.btnSearch.UseVisualStyleBackColor = true;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// gbSearch
//
this.gbSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.gbSearch.Controls.Add(this.btnSearch);
this.gbSearch.Controls.Add(this.txtSearch);
this.gbSearch.Controls.Add(this.lblRoomID);
this.gbSearch.Location = new System.Drawing.Point(12, 42);
this.gbSearch.Name = "gbSearch";
this.gbSearch.Size = new System.Drawing.Size(587, 47);
this.gbSearch.TabIndex = 14;
this.gbSearch.TabStop = false;
//
// txtSearch
//
this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtSearch.Location = new System.Drawing.Point(165, 15);
this.txtSearch.Name = "txtSearch";
this.txtSearch.Size = new System.Drawing.Size(213, 21);
this.txtSearch.TabIndex = 1;
//
// RoomSettingForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(609, 396);
this.Controls.Add(this.panInfo);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.gbSearch);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "RoomSettingForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "[客房信息设置]";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RoomSettingForm_FormClosing);
this.Load += new System.EventHandler(this.RoomSettingForm_Load);
this.panInfo.ResumeLayout(false);
this.panInfo.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.gbSearch.ResumeLayout(false);
this.gbSearch.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label lblNumber;
private System.Windows.Forms.Label lblTypeID;
private System.Windows.Forms.Label lblPrice;
private System.Windows.Forms.TextBox txtGuestNumber;
private System.Windows.Forms.TextBox txtPrice;
private System.Windows.Forms.Panel panInfo;
private System.Windows.Forms.TextBox txtDescription;
private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.TextBox txtNumber;
private System.Windows.Forms.ToolStripButton tsBtnSave;
private System.Windows.Forms.ToolStripButton tsBtnCancel;
private System.Windows.Forms.ToolStripButton tsBtnExit;
private System.Windows.Forms.ToolStripButton tsBtnDelete;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsBntAdd;
private System.Windows.Forms.ToolStripButton tsBntUpdate;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Label lblRoomID;
private System.Windows.Forms.Button btnSearch;
private System.Windows.Forms.GroupBox gbSearch;
private System.Windows.Forms.TextBox txtSearch;
private System.Windows.Forms.ComboBox cboTypeID;
private System.Windows.Forms.Label lblGuestNumber;
private System.Windows.Forms.ComboBox cboState;
private System.Windows.Forms.Label lblState;
private System.Windows.Forms.Label lblBedNumber;
private System.Windows.Forms.TextBox txtBedNumber;
private System.Windows.Forms.DataGridViewTextBoxColumn RoomID;
private System.Windows.Forms.DataGridViewTextBoxColumn Number;
private System.Windows.Forms.DataGridViewTextBoxColumn TypeID;
private System.Windows.Forms.DataGridViewTextBoxColumn BedNumber;
private System.Windows.Forms.DataGridViewTextBoxColumn State;
private System.Windows.Forms.DataGridViewTextBoxColumn GuestNumber;
private System.Windows.Forms.DataGridViewTextBoxColumn Description;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -