📄 registerform.h
字号:
//
// 联系电话Label
//
联系电话Label->AutoSize = true;
联系电话Label->Location = System::Drawing::Point(9, 318);
联系电话Label->Name = L"联系电话Label";
联系电话Label->Size = System::Drawing::Size(59, 12);
联系电话Label->TabIndex = 54;
联系电话Label->Text = L"联系电话:";
//
// 操作人员Label
//
操作人员Label->AutoSize = true;
操作人员Label->Location = System::Drawing::Point(9, 345);
操作人员Label->Name = L"操作人员Label";
操作人员Label->Size = System::Drawing::Size(59, 12);
操作人员Label->TabIndex = 56;
操作人员Label->Text = L"操作人员:";
//
// 酒店可用房间DataGridView
//
this->酒店可用房间DataGridView->BackgroundColor = System::Drawing::SystemColors::MenuHighlight;
this->酒店可用房间DataGridView->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->酒店可用房间DataGridView->Location = System::Drawing::Point(9, 41);
this->酒店可用房间DataGridView->Name = L"酒店可用房间DataGridView";
this->酒店可用房间DataGridView->ReadOnly = true;
this->酒店可用房间DataGridView->RowHeadersVisible = false;
dataGridViewCellStyle1->BackColor = System::Drawing::Color::Green;
dataGridViewCellStyle1->ForeColor = System::Drawing::Color::Yellow;
this->酒店可用房间DataGridView->RowsDefaultCellStyle = dataGridViewCellStyle1;
this->酒店可用房间DataGridView->RowTemplate->Height = 23;
this->酒店可用房间DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
this->酒店可用房间DataGridView->Size = System::Drawing::Size(303, 316);
this->酒店可用房间DataGridView->TabIndex = 2;
this->酒店可用房间DataGridView->Click += gcnew System::EventHandler(this, &RegisterForm::酒店可用房间DataGridView_Click);
//
// 酒店房间类别ComboBox
//
this->酒店房间类别ComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->酒店房间类别ComboBox->FormattingEnabled = true;
this->酒店房间类别ComboBox->Location = System::Drawing::Point(93, 15);
this->酒店房间类别ComboBox->Name = L"酒店房间类别ComboBox";
this->酒店房间类别ComboBox->Size = System::Drawing::Size(207, 20);
this->酒店房间类别ComboBox->TabIndex = 1;
this->酒店房间类别ComboBox->SelectedIndexChanged += gcnew System::EventHandler(this, &RegisterForm::酒店房间类别ComboBox_SelectedIndexChanged);
//
// 保存Button
//
this->保存Button->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"保存Button.Image")));
this->保存Button->Location = System::Drawing::Point(435, 382);
this->保存Button->Name = L"保存Button";
this->保存Button->Size = System::Drawing::Size(90, 25);
this->保存Button->TabIndex = 9;
this->保存Button->Text = L"保存";
this->保存Button->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
this->保存Button->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
this->保存Button->UseVisualStyleBackColor = true;
this->保存Button->Click += gcnew System::EventHandler(this, &RegisterForm::保存Button_Click);
//
// 客人性别ComboBox
//
this->客人性别ComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->客人性别ComboBox->FormattingEnabled = true;
this->客人性别ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(2) {L"男", L"女"});
this->客人性别ComboBox->Location = System::Drawing::Point(73, 289);
this->客人性别ComboBox->Name = L"客人性别ComboBox";
this->客人性别ComboBox->Size = System::Drawing::Size(121, 20);
this->客人性别ComboBox->TabIndex = 63;
//
// 打印Button
//
this->打印Button->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"打印Button.Image")));
this->打印Button->Location = System::Drawing::Point(335, 382);
this->打印Button->Name = L"打印Button";
this->打印Button->Size = System::Drawing::Size(90, 25);
this->打印Button->TabIndex = 8;
this->打印Button->Text = L"打印";
this->打印Button->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
this->打印Button->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
this->打印Button->UseVisualStyleBackColor = true;
this->打印Button->Click += gcnew System::EventHandler(this, &RegisterForm::打印Button_Click);
//
// 入住编号TextBox
//
this->入住编号TextBox->Location = System::Drawing::Point(74, 369);
this->入住编号TextBox->Name = L"入住编号TextBox";
this->入住编号TextBox->ReadOnly = true;
this->入住编号TextBox->Size = System::Drawing::Size(120, 21);
this->入住编号TextBox->TabIndex = 62;
//
// 新增Button
//
this->新增Button->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"新增Button.Image")));
this->新增Button->Location = System::Drawing::Point(235, 382);
this->新增Button->Name = L"新增Button";
this->新增Button->Size = System::Drawing::Size(90, 25);
this->新增Button->TabIndex = 7;
this->新增Button->Text = L"新增";
this->新增Button->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
this->新增Button->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
this->新增Button->UseVisualStyleBackColor = true;
this->新增Button->Click += gcnew System::EventHandler(this, &RegisterForm::新增Button_Click);
//
// printPreviewDialog1
//
this->printPreviewDialog1->AutoScrollMargin = System::Drawing::Size(0, 0);
this->printPreviewDialog1->AutoScrollMinSize = System::Drawing::Size(0, 0);
this->printPreviewDialog1->ClientSize = System::Drawing::Size(400, 300);
this->printPreviewDialog1->Enabled = true;
this->printPreviewDialog1->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"printPreviewDialog1.Icon")));
this->printPreviewDialog1->Name = L"printPreviewDialog1";
this->printPreviewDialog1->Visible = false;
//
// groupBox1
//
this->groupBox1->Controls->Add(this->客人性别ComboBox);
this->groupBox1->Controls->Add(this->入住编号TextBox);
this->groupBox1->Controls->Add(住宿人数Label);
this->groupBox1->Controls->Add(this->住宿人数ComboBox);
this->groupBox1->Controls->Add(证件名称Label);
this->groupBox1->Controls->Add(this->证件名称ComboBox);
this->groupBox1->Controls->Add(入住编号Label);
this->groupBox1->Controls->Add(房号Label);
this->groupBox1->Controls->Add(this->房号TextBox);
this->groupBox1->Controls->Add(折扣价格Label);
this->groupBox1->Controls->Add(this->折扣价格TextBox);
this->groupBox1->Controls->Add(预收押金Label);
this->groupBox1->Controls->Add(this->预收押金TextBox);
this->groupBox1->Controls->Add(入住日期Label);
this->groupBox1->Controls->Add(this->入住日期DateTimePicker);
this->groupBox1->Controls->Add(离开日期Label);
this->groupBox1->Controls->Add(this->离开日期DateTimePicker);
this->groupBox1->Controls->Add(客人姓名Label);
this->groupBox1->Controls->Add(this->客人姓名TextBox);
this->groupBox1->Controls->Add(证件号码Label);
this->groupBox1->Controls->Add(this->证件号码TextBox);
this->groupBox1->Controls->Add(证件地址Label);
this->groupBox1->Controls->Add(this->证件地址TextBox);
this->groupBox1->Controls->Add(客人性别Label);
this->groupBox1->Controls->Add(联系电话Label);
this->groupBox1->Controls->Add(this->联系电话TextBox);
this->groupBox1->Controls->Add(操作人员Label);
this->groupBox1->Controls->Add(this->操作人员TextBox);
this->groupBox1->Location = System::Drawing::Point(6, 10);
this->groupBox1->Name = L"groupBox1";
this->groupBox1->Size = System::Drawing::Size(204, 399);
this->groupBox1->TabIndex = 5;
this->groupBox1->TabStop = false;
this->groupBox1->Text = L"旅客入住信息";
//
// 住宿人数ComboBox
//
this->住宿人数ComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->住宿人数ComboBox->FormattingEnabled = true;
this->住宿人数ComboBox->Location = System::Drawing::Point(74, 261);
this->住宿人数ComboBox->Name = L"住宿人数ComboBox";
this->住宿人数ComboBox->Size = System::Drawing::Size(121, 20);
this->住宿人数ComboBox->TabIndex = 61;
//
// 证件名称ComboBox
//
this->证件名称ComboBox->FormattingEnabled = true;
this->证件名称ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"居民身份证", L"军官证", L"警官证", L"学生证", L"工作证"});
this->证件名称ComboBox->Location = System::Drawing::Point(74, 180);
this->证件名称ComboBox->Name = L"证件名称ComboBox";
this->证件名称ComboBox->Size = System::Drawing::Size(121, 20);
this->证件名称ComboBox->TabIndex = 60;
this->证件名称ComboBox->Text = L"居民身份证";
//
// 房号TextBox
//
this->房号TextBox->Location = System::Drawing::Point(74, 18);
this->房号TextBox->Name = L"房号TextBox";
this->房号TextBox->ReadOnly = true;
this->房号TextBox->Size = System::Drawing::Size(120, 21);
this->房号TextBox->TabIndex = 37;
//
// 折扣价格TextBox
//
this->折扣价格TextBox->Location = System::Drawing::Point(74, 45);
this->折扣价格TextBox->Name = L"折扣价格TextBox";
this->折扣价格TextBox->Size = System::Drawing::Size(120, 21);
this->折扣价格TextBox->TabIndex = 39;
//
// 预收押金TextBox
//
this->预收押金TextBox->Location = System::Drawing::Point(74, 72);
this->预收押金TextBox->Name = L"预收押金TextBox";
this->预收押金TextBox->Size = System::Drawing::Size(120, 21);
this->预收押金TextBox->TabIndex = 41;
//
// 入住日期DateTimePicker
//
this->入住日期DateTimePicker->Location = System::Drawing::Point(74, 99);
this->入住日期DateTimePicker->Name = L"入住日期DateTimePicker";
this->入住日期DateTimePicker->Size = System::Drawing::Size(120, 21);
this->入住日期DateTimePicker->TabIndex = 43;
//
// 离开日期DateTimePicker
//
this->离开日期DateTimePicker->Location = System::Drawing::Point(74, 126);
this->离开日期DateTimePicker->Name = L"离开日期DateTimePicker";
this->离开日期DateTimePicker->Size = System::Drawing::Size(120, 21);
this->离开日期DateTimePicker->TabIndex = 45;
//
// 客人姓名TextBox
//
this->客人姓名TextBox->Location = System::Drawing::Point(74, 153);
this->客人姓名TextBox->Name = L"客人姓名TextBox";
this->客人姓名TextBox->Size = System::Drawing::Size(120, 21);
this->客人姓名TextBox->TabIndex = 47;
//
// 证件号码TextBox
//
this->证件号码TextBox->Location = System::Drawing::Point(74, 207);
this->证件号码TextBox->Name = L"证件号码TextBox";
this->证件号码TextBox->Size = System::Drawing::Size(120, 21);
this->证件号码TextBox->TabIndex = 49;
//
// 证件地址TextBox
//
this->证件地址TextBox->Location = System::Drawing::Point(74, 234);
this->证件地址TextBox->Name = L"证件地址TextBox";
this->证件地址TextBox->Size = System::Drawing::Size(120, 21);
this->证件地址TextBox->TabIndex = 51;
//
// 联系电话TextBox
//
this->联系电话TextBox->Location = System::Drawing::Point(74, 315);
this->联系电话TextBox->Name = L"联系电话TextBox";
this->联系电话TextBox->Size = System::Drawing::Size(120, 21);
this->联系电话TextBox->TabIndex = 55;
//
// 操作人员TextBox
//
this->操作人员TextBox->Location = System::Drawing::Point(74, 342);
this->操作人员TextBox->Name = L"操作人员TextBox";
this->操作人员TextBox->ReadOnly = true;
this->操作人员TextBox->Size = System::Drawing::Size(120, 21);
this->操作人员TextBox->TabIndex = 57;
//
// label1
//
this->label1->AutoSize = true;
this->label1->Location = System::Drawing::Point(7, 21);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(89, 12);
this->label1->TabIndex = 0;
this->label1->Text = L"酒店房间类别:";
//
// printDocument1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -