📄 mainform.h
字号:
//
this->退房登记ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"退房登记ToolStripMenuItem.Image")));
this->退房登记ToolStripMenuItem->Name = L"退房登记ToolStripMenuItem";
this->退房登记ToolStripMenuItem->Size = System::Drawing::Size(136, 22);
this->退房登记ToolStripMenuItem->Text = L"退房登记(&E)";
this->退房登记ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::退房登记ToolStripMenuItem_Click);
//
// 退房登记ToolStripSeparator
//
this->退房登记ToolStripSeparator->Name = L"退房登记ToolStripSeparator";
this->退房登记ToolStripSeparator->Size = System::Drawing::Size(133, 6);
//
// 预订房间ToolStripMenuItem
//
this->预订房间ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"预订房间ToolStripMenuItem.Image")));
this->预订房间ToolStripMenuItem->Name = L"预订房间ToolStripMenuItem";
this->预订房间ToolStripMenuItem->Size = System::Drawing::Size(136, 22);
this->预订房间ToolStripMenuItem->Text = L"预订房间(&P)";
this->预订房间ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::预订房间ToolStripMenuItem_Click);
//
// 查询管理QToolStripMenuItem
//
this->查询管理QToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(9) {this->入住旅客信息ToolStripMenuItem,
this->入住旅客信息ToolStripSeparator, this->客房入住状态ToolStripMenuItem, this->客房入住状态ToolStripSeparator, this->物品消耗信息ToolStripMenuItem,
this->物品消耗信息ToolStripSeparator, this->物品消耗汇总ToolStripMenuItem, this->物品消耗汇总ToolStripSeparator, this->押金消费信息ToolStripMenuItem});
this->查询管理QToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"查询管理QToolStripMenuItem.Image")));
this->查询管理QToolStripMenuItem->Name = L"查询管理QToolStripMenuItem";
this->查询管理QToolStripMenuItem->Size = System::Drawing::Size(99, 20);
this->查询管理QToolStripMenuItem->Text = L"查询管理(&Q)";
//
// 入住旅客信息ToolStripMenuItem
//
this->入住旅客信息ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"入住旅客信息ToolStripMenuItem.Image")));
this->入住旅客信息ToolStripMenuItem->Name = L"入住旅客信息ToolStripMenuItem";
this->入住旅客信息ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->入住旅客信息ToolStripMenuItem->Text = L"入住旅客信息(&T)";
this->入住旅客信息ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::入住旅客信息ToolStripMenuItem_Click);
//
// 入住旅客信息ToolStripSeparator
//
this->入住旅客信息ToolStripSeparator->Name = L"入住旅客信息ToolStripSeparator";
this->入住旅客信息ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 客房入住状态ToolStripMenuItem
//
this->客房入住状态ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"客房入住状态ToolStripMenuItem.Image")));
this->客房入住状态ToolStripMenuItem->Name = L"客房入住状态ToolStripMenuItem";
this->客房入住状态ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->客房入住状态ToolStripMenuItem->Text = L"客房入住状态(&R)";
this->客房入住状态ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::客房入住状态ToolStripMenuItem_Click);
//
// 客房入住状态ToolStripSeparator
//
this->客房入住状态ToolStripSeparator->Name = L"客房入住状态ToolStripSeparator";
this->客房入住状态ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 物品消耗信息ToolStripMenuItem
//
this->物品消耗信息ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"物品消耗信息ToolStripMenuItem.Image")));
this->物品消耗信息ToolStripMenuItem->Name = L"物品消耗信息ToolStripMenuItem";
this->物品消耗信息ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->物品消耗信息ToolStripMenuItem->Text = L"物品消耗信息(&C)";
this->物品消耗信息ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::物品消耗信息ToolStripMenuItem_Click);
//
// 物品消耗信息ToolStripSeparator
//
this->物品消耗信息ToolStripSeparator->Name = L"物品消耗信息ToolStripSeparator";
this->物品消耗信息ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 物品消耗汇总ToolStripMenuItem
//
this->物品消耗汇总ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"物品消耗汇总ToolStripMenuItem.Image")));
this->物品消耗汇总ToolStripMenuItem->Name = L"物品消耗汇总ToolStripMenuItem";
this->物品消耗汇总ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->物品消耗汇总ToolStripMenuItem->Text = L"物品消耗汇总(&S)";
this->物品消耗汇总ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::物品消耗汇总ToolStripMenuItem_Click);
//
// 物品消耗汇总ToolStripSeparator
//
this->物品消耗汇总ToolStripSeparator->Name = L"物品消耗汇总ToolStripSeparator";
this->物品消耗汇总ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 押金消费信息ToolStripMenuItem
//
this->押金消费信息ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"押金消费信息ToolStripMenuItem.Image")));
this->押金消费信息ToolStripMenuItem->Name = L"押金消费信息ToolStripMenuItem";
this->押金消费信息ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->押金消费信息ToolStripMenuItem->Text = L"押金消费信息(&M)";
this->押金消费信息ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::押金消费信息ToolStripMenuItem_Click);
//
// 报表管理RToolStripMenuItem
//
this->报表管理RToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(9) {this->客房入住报表ToolStripMenuItem,
this->客房入住报表ToolStripSeparator, this->客房A餐费报表ToolStripMenuItem, this->客房A餐费报表ToolStripSeparator, this->客房消费报表ToolStripMenuItem,
this->客房消费报表ToolStripSeparator, this->客房话费报表ToolStripMenuItem, this->客房话费报表ToolStripSeparator, this->客房结帐汇总表ToolStripMenuItem});
this->报表管理RToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"报表管理RToolStripMenuItem.Image")));
this->报表管理RToolStripMenuItem->Name = L"报表管理RToolStripMenuItem";
this->报表管理RToolStripMenuItem->Size = System::Drawing::Size(99, 20);
this->报表管理RToolStripMenuItem->Text = L"报表管理(&R)";
//
// 客房入住报表ToolStripMenuItem
//
this->客房入住报表ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"客房入住报表ToolStripMenuItem.Image")));
this->客房入住报表ToolStripMenuItem->Name = L"客房入住报表ToolStripMenuItem";
this->客房入住报表ToolStripMenuItem->Size = System::Drawing::Size(172, 22);
this->客房入住报表ToolStripMenuItem->Text = L"客房入住报表(&R)";
this->客房入住报表ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::客房入住报表ToolStripMenuItem_Click);
//
// 客房入住报表ToolStripSeparator
//
this->客房入住报表ToolStripSeparator->Name = L"客房入住报表ToolStripSeparator";
this->客房入住报表ToolStripSeparator->Size = System::Drawing::Size(169, 6);
//
// 客房A餐费报表ToolStripMenuItem
//
this->客房A餐费报表ToolStripMenuItem->Name = L"客房A餐费报表ToolStripMenuItem";
this->客房A餐费报表ToolStripMenuItem->Size = System::Drawing::Size(172, 22);
this->客房A餐费报表ToolStripMenuItem->Text = L"客房餐费报表(&D)";
this->客房A餐费报表ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::客房A餐费报表ToolStripMenuItem_Click);
//
// 客房A餐费报表ToolStripSeparator
//
this->客房A餐费报表ToolStripSeparator->Name = L"客房A餐费报表ToolStripSeparator";
this->客房A餐费报表ToolStripSeparator->Size = System::Drawing::Size(169, 6);
//
// 客房消费报表ToolStripMenuItem
//
this->客房消费报表ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"客房消费报表ToolStripMenuItem.Image")));
this->客房消费报表ToolStripMenuItem->Name = L"客房消费报表ToolStripMenuItem";
this->客房消费报表ToolStripMenuItem->Size = System::Drawing::Size(172, 22);
this->客房消费报表ToolStripMenuItem->Text = L"客房消费报表(&E)";
this->客房消费报表ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::客房消费报表ToolStripMenuItem_Click);
//
// 客房消费报表ToolStripSeparator
//
this->客房消费报表ToolStripSeparator->Name = L"客房消费报表ToolStripSeparator";
this->客房消费报表ToolStripSeparator->Size = System::Drawing::Size(169, 6);
//
// MainForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(0)), static_cast<System::Int32>(static_cast<System::Byte>(192)),
static_cast<System::Int32>(static_cast<System::Byte>(192)));
this->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->ClientSize = System::Drawing::Size(542, 416);
this->Controls->Add(this->toolStrip1);
this->Controls->Add(this->menuStrip1);
this->Name = L"MainForm";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"宾馆酒店管理系统";
this->Load += gcnew System::EventHandler(this, &MainForm::MainForm_Load);
this->toolStrip1->ResumeLayout(false);
this->toolStrip1->PerformLayout();
this->menuStrip1->ResumeLayout(false);
this->menuStrip1->PerformLayout();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: String^ MyBgPhoto ;
private: String^ MyAddress ;
private: String^ MyTel ;
private: String^ MyCode;
private: String^ MyWeb ;
private: String^ MySlogan;
private: String^ MyBgPhotoShow;
private: String^ MyOperator;
private: String^ MyCompany;
private: static String^ MyHotelConnectionString= L"Data Source=.;Initial Catalog=MyHotel;Integrated Security=True;Pooling=False";
private: System::Void 入住登记ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
RegisterForm^ MyDlg = gcnew RegisterForm();
MyDlg->MyCompany = this->MyCompany;
MyDlg->MyOperator = this->MyOperator;
MyDlg->ShowDialog();
}
private: System::Void 换房登记ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
ChangeForm^ MyDlg = gcnew ChangeForm();
MyDlg->ShowDialog();
}
private: System::Void 退房登记ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
CheckOutForm^ MyDlg = gcnew CheckOutForm();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -