📄 roominfo.cs
字号:
this.groupBox2.Controls.Add(this.txt7);
this.groupBox2.Controls.Add(this.txt9);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.label6);
this.groupBox2.Controls.Add(this.label8);
this.groupBox2.Controls.Add(this.label10);
this.groupBox2.Controls.Add(this.label11);
this.groupBox2.Location = new System.Drawing.Point(0, 379);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(736, 128);
//
// da1
//
this.da1.DeleteCommand = this.sqlCommand8;
this.da1.InsertCommand = this.sqlCommand6;
this.da1.SelectCommand = this.sqlCommand5;
this.da1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
new System.Data.Common.DataTableMapping("Table", "客房信息", new System.Data.Common.DataColumnMapping[] {
new System.Data.Common.DataColumnMapping("客房编号", "客房编号"),
new System.Data.Common.DataColumnMapping("类型编号", "类型编号"),
new System.Data.Common.DataColumnMapping("楼层编号", "楼层编号"),
new System.Data.Common.DataColumnMapping("额定人数", "额定人数"),
new System.Data.Common.DataColumnMapping("床数", "床数"),
new System.Data.Common.DataColumnMapping("客房描述", "客房描述"),
new System.Data.Common.DataColumnMapping("备注", "备注"),
new System.Data.Common.DataColumnMapping("状态", "状态"),
new System.Data.Common.DataColumnMapping("是否可拼房", "是否可拼房")})});
this.da1.UpdateCommand = this.sqlCommand7;
//
// txt4
//
this.txt4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "客房信息.客房编号"));
this.txt4.Location = new System.Drawing.Point(40, 40);
this.txt4.Name = "txt4";
this.txt4.ReadOnly = true;
this.txt4.Size = new System.Drawing.Size(112, 21);
this.txt4.TabIndex = 15;
this.txt4.Text = "";
//
// dataSet11
//
this.dataSet11.DataSetName = "DataSet1";
this.dataSet11.Locale = new System.Globalization.CultureInfo("zh-CN");
//
// label4
//
this.label4.Location = new System.Drawing.Point(40, 24);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 16);
this.label4.TabIndex = 13;
this.label4.Text = "客房编号";
//
// txt5
//
this.txt5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "客房信息.额定人数"));
this.txt5.Location = new System.Drawing.Point(440, 40);
this.txt5.Name = "txt5";
this.txt5.ReadOnly = true;
this.txt5.Size = new System.Drawing.Size(64, 21);
this.txt5.TabIndex = 16;
this.txt5.Text = "";
//
// label5
//
this.label5.Location = new System.Drawing.Point(176, 24);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(100, 16);
this.label5.TabIndex = 10;
this.label5.Text = "客房类型";
//
// txt8
//
this.txt8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "客房信息.客房描述"));
this.txt8.Location = new System.Drawing.Point(40, 86);
this.txt8.Name = "txt8";
this.txt8.ReadOnly = true;
this.txt8.Size = new System.Drawing.Size(232, 21);
this.txt8.TabIndex = 17;
this.txt8.Text = "";
//
// txt6
//
this.txt6.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "客房信息.床数"));
this.txt6.Location = new System.Drawing.Point(528, 40);
this.txt6.Name = "txt6";
this.txt6.ReadOnly = true;
this.txt6.Size = new System.Drawing.Size(64, 21);
this.txt6.TabIndex = 14;
this.txt6.Text = "";
//
// label9
//
this.label9.Location = new System.Drawing.Point(440, 24);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(72, 16);
this.label9.TabIndex = 11;
this.label9.Text = "额定人数";
//
// label7
//
this.label7.Location = new System.Drawing.Point(40, 70);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(100, 16);
this.label7.TabIndex = 12;
this.label7.Text = "客房描述";
//
// label6
//
this.label6.Location = new System.Drawing.Point(312, 24);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(100, 16);
this.label6.TabIndex = 10;
this.label6.Text = "楼层";
//
// label8
//
this.label8.Location = new System.Drawing.Point(528, 24);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(72, 16);
this.label8.TabIndex = 11;
this.label8.Text = "床数";
//
// cmb2
//
this.cmb2.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.dataSet11, "客房信息.类型编号"));
this.cmb2.DataSource = this.dataSet11;
this.cmb2.DisplayMember = "客房类型.类型名称";
this.cmb2.Enabled = false;
this.cmb2.Location = new System.Drawing.Point(176, 40);
this.cmb2.Name = "cmb2";
this.cmb2.Size = new System.Drawing.Size(120, 20);
this.cmb2.TabIndex = 19;
this.cmb2.ValueMember = "客房信息.类型编号";
//
// cmb3
//
this.cmb3.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.dataSet11, "客房信息.楼层编号"));
this.cmb3.DataSource = this.dataSet11;
this.cmb3.DisplayMember = "楼层信息.楼层名称";
this.cmb3.Enabled = false;
this.cmb3.Location = new System.Drawing.Point(312, 40);
this.cmb3.Name = "cmb3";
this.cmb3.Size = new System.Drawing.Size(104, 20);
this.cmb3.TabIndex = 18;
this.cmb3.ValueMember = "楼层信息.楼层编号";
//
// label10
//
this.label10.Location = new System.Drawing.Point(616, 24);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(72, 16);
this.label10.TabIndex = 11;
this.label10.Text = "状态";
//
// txt7
//
this.txt7.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "客房信息.状态"));
this.txt7.Location = new System.Drawing.Point(616, 40);
this.txt7.Name = "txt7";
this.txt7.ReadOnly = true;
this.txt7.Size = new System.Drawing.Size(88, 21);
this.txt7.TabIndex = 14;
this.txt7.Text = "";
//
// txt9
//
this.txt9.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet11, "客房信息.备注"));
this.txt9.Location = new System.Drawing.Point(304, 86);
this.txt9.Name = "txt9";
this.txt9.ReadOnly = true;
this.txt9.Size = new System.Drawing.Size(232, 21);
this.txt9.TabIndex = 17;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -