📄 hotelreserve.cs
字号:
this.groupBox2.Controls.Add(this.txt8);
this.groupBox2.Controls.Add(this.txt9);
this.groupBox2.Controls.Add(this.txt10);
this.groupBox2.Controls.Add(this.txt11);
this.groupBox2.Controls.Add(this.txt5);
this.groupBox2.Controls.Add(this.txt4);
this.groupBox2.Controls.Add(this.label15);
this.groupBox2.Controls.Add(this.label16);
this.groupBox2.Controls.Add(this.label17);
this.groupBox2.Controls.Add(this.label18);
this.groupBox2.Controls.Add(this.label19);
this.groupBox2.Controls.Add(this.label20);
this.groupBox2.Controls.Add(this.label21);
this.groupBox2.Controls.Add(this.label22);
this.groupBox2.Controls.Add(this.label23);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.label11);
this.groupBox2.Controls.Add(this.label12);
this.groupBox2.Controls.Add(this.label13);
this.groupBox2.Controls.Add(this.label14);
this.groupBox2.Controls.Add(this.cmb1);
this.groupBox2.Controls.Add(this.cmb2);
this.groupBox2.Controls.Add(this.cmb3);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.label6);
this.groupBox2.Controls.Add(this.label8);
this.groupBox2.Controls.Add(this.label10);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Location = new System.Drawing.Point(0, 320);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(728, 192);
//
// da1
//
this.da1.DeleteCommand = this.sqlDeleteCommand1;
this.da1.InsertCommand = this.sqlInsertCommand1;
this.da1.SelectCommand = this.sqlSelectCommand1;
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("客房价格", "客房价格"),
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("备注", "备注"),
new System.Data.Common.DataColumnMapping("操作员", "操作员"),
new System.Data.Common.DataColumnMapping("业务员", "业务员")})});
this.da1.UpdateCommand = this.sqlUpdateCommand1;
//
// sqlConnection1
//
this.sqlConnection1.ConnectionString = "workstation id=localhost;Integrated Security=SSPI;Database=hotelbook;";
//
// dataSet21
//
this.dataSet21.DataSetName = "DataSet2";
this.dataSet21.Locale = new System.Globalization.CultureInfo("zh-CN");
//
// da2
//
this.da2.SelectCommand = this.sqlSelectCommand2;
this.da2.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("类型名称", "类型名称")})});
//
// sqlSelectCommand2
//
this.sqlSelectCommand2.CommandText = "SELECT 类型编号, 类型名称 FROM 客房类型";
this.sqlSelectCommand2.Connection = this.sqlConnection1;
//
// txt4
//
this.txt4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet21, "预定单.预定单号"));
this.txt4.Location = new System.Drawing.Point(24, 32);
this.txt4.Name = "txt4";
this.txt4.ReadOnly = true;
this.txt4.Size = new System.Drawing.Size(112, 21);
this.txt4.TabIndex = 97;
this.txt4.Text = "";
//
// label4
//
this.label4.Location = new System.Drawing.Point(24, 16);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 16);
this.label4.TabIndex = 96;
this.label4.Text = "预定单号";
//
// cmb1
//
this.cmb1.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.dataSet21, "预定单.客房类型"));
this.cmb1.DataSource = this.dataSet21;
this.cmb1.DisplayMember = "客房类型.类型名称";
this.cmb1.Enabled = false;
this.cmb1.Location = new System.Drawing.Point(152, 32);
this.cmb1.Name = "cmb1";
this.cmb1.Size = new System.Drawing.Size(112, 20);
this.cmb1.TabIndex = 118;
this.cmb1.ValueMember = "客房类型.类型编号";
//
// txt5
//
this.txt5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet21, "预定单.联系电话"));
this.txt5.Location = new System.Drawing.Point(568, 32);
this.txt5.Name = "txt5";
this.txt5.ReadOnly = true;
this.txt5.Size = new System.Drawing.Size(136, 21);
this.txt5.TabIndex = 117;
this.txt5.Text = "";
//
// cmb2
//
this.cmb2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet21, "预定单.抵店时间"));
this.cmb2.Enabled = false;
this.cmb2.Location = new System.Drawing.Point(280, 32);
this.cmb2.Name = "cmb2";
this.cmb2.Size = new System.Drawing.Size(128, 20);
this.cmb2.TabIndex = 120;
this.cmb2.DropDown += new System.EventHandler(this.cmb2_DropDown);
this.cmb2.Leave += new System.EventHandler(this.cmb2_Leave);
//
// cmb3
//
this.cmb3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet21, "预定单.离店时间"));
this.cmb3.Enabled = false;
this.cmb3.Location = new System.Drawing.Point(424, 32);
this.cmb3.Name = "cmb3";
this.cmb3.Size = new System.Drawing.Size(128, 20);
this.cmb3.TabIndex = 119;
this.cmb3.DropDown += new System.EventHandler(this.cmb3_DropDown);
this.cmb3.Leave += new System.EventHandler(this.cmb3_Leave);
//
// label5
//
this.label5.Location = new System.Drawing.Point(568, 16);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(100, 16);
this.label5.TabIndex = 113;
this.label5.Text = "联系电话";
//
// label6
//
this.label6.Location = new System.Drawing.Point(152, 16);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(56, 16);
this.label6.TabIndex = 114;
this.label6.Text = "客房类型";
//
// label8
//
this.label8.Location = new System.Drawing.Point(280, 16);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(100, 16);
this.label8.TabIndex = 115;
this.label8.Text = "抵店时间";
//
// label10
//
this.label10.Location = new System.Drawing.Point(424, 16);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(100, 16);
this.label10.TabIndex = 116;
this.label10.Text = "离店时间";
//
// txt7
//
this.txt7.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet21, "预定单.客房价格"));
this.txt7.Location = new System.Drawing.Point(128, 78);
this.txt7.Name = "txt7";
this.txt7.ReadOnly = true;
this.txt7.Size = new System.Drawing.Size(72, 21);
this.txt7.TabIndex = 129;
this.txt7.Text = "";
//
// txt6
//
this.txt6.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet21, "预定单.客房编号"));
this.txt6.Location = new System.Drawing.Point(24, 78);
this.txt6.Name = "txt6";
this.txt6.ReadOnly = true;
this.txt6.Size = new System.Drawing.Size(64, 21);
this.txt6.TabIndex = 127;
this.txt6.Text = "";
//
// txt8
//
this.txt8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet21, "预定单.入住价格"));
this.txt8.Location = new System.Drawing.Point(216, 78);
this.txt8.Name = "txt8";
this.txt8.ReadOnly = true;
this.txt8.Size = new System.Drawing.Size(72, 21);
this.txt8.TabIndex = 128;
this.txt8.Text = "";
//
// txt9
//
this.txt9.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dataSet21, "预定单.折扣"));
this.txt9.Location = new System.Drawing.Point(304, 78);
this.txt9.Name = "txt9";
this.txt9.ReadOnly = true;
this.txt9.Size = new System.Drawing.Size(64, 21);
this.txt9.TabIndex = 130;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -