⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bookform.h

📁 宾馆酒店管理系统,建议在简体中文版Microsoft Windows Server 2003(SP1)/Microsoft Office 2003(SP2)/Microsoft SQL Server
💻 H
📖 第 1 页 / 共 3 页
字号:
//文件名:BookForm.h
#pragma once

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;

using namespace System::Data::SqlClient;

namespace 宾馆酒店管理系统 {

	/// <summary>
	/// BookForm 摘要
	///
	/// 警告: 如果更改此类的名称,则需要更改
	///          与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
	///          “资源文件名”属性。否则,
	///          设计器将不能与此窗体的关联
	///          本地化资源正确交互。
	/// </summary>
	public ref class BookForm : public System::Windows::Forms::Form
	{
	public:
		BookForm(void)
		{
			InitializeComponent();
			//
			//TODO: 在此处添加构造函数代码
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~BookForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Label^  label1;
	protected: 
	private: System::Drawing::Printing::PrintDocument^  printDocument1;
	private: System::Windows::Forms::ComboBox^  酒店房间类别ComboBox;
	private: System::Windows::Forms::GroupBox^  groupBox2;
	private: System::Windows::Forms::DataGridView^  酒店可用房间DataGridView;
	private: System::Windows::Forms::Button^  保存Button;
	private: System::Windows::Forms::ComboBox^  客人性别ComboBox;
	private: System::Windows::Forms::GroupBox^  groupBox1;
	private: System::Windows::Forms::TextBox^  预约编号TextBox;
	private: System::Windows::Forms::ComboBox^  住宿人数ComboBox;
	private: System::Windows::Forms::TextBox^  房号TextBox;
	private: System::Windows::Forms::TextBox^  预收押金TextBox;
	private: System::Windows::Forms::DateTimePicker^  入住日期DateTimePicker;
	private: System::Windows::Forms::DateTimePicker^  离开日期DateTimePicker;
	private: System::Windows::Forms::TextBox^  客人姓名TextBox;
	private: System::Windows::Forms::TextBox^  联系电话TextBox;
	private: System::Windows::Forms::TextBox^  操作人员TextBox;
	private: System::Windows::Forms::Button^  新增Button;
	private: System::Windows::Forms::PrintPreviewDialog^  printPreviewDialog1;
	private: System::Windows::Forms::Button^  打印Button;

	private:
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// 设计器支持所需的方法 - 不要
		/// 使用代码编辑器修改此方法的内容。
		/// </summary>
		void InitializeComponent(void)
		{
			System::Windows::Forms::Label^  住宿人数Label;
			System::Windows::Forms::Label^  入住编号Label;
			System::Windows::Forms::Label^  房号Label;
			System::Windows::Forms::Label^  预收押金Label;
			System::Windows::Forms::Label^  入住日期Label;
			System::Windows::Forms::Label^  离开日期Label;
			System::Windows::Forms::Label^  客人姓名Label;
			System::Windows::Forms::Label^  客人性别Label;
			System::Windows::Forms::Label^  联系电话Label;
			System::Windows::Forms::Label^  操作人员Label;
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(BookForm::typeid));
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
			this->酒店房间类别ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
			this->酒店可用房间DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->保存Button = (gcnew System::Windows::Forms::Button());
			this->客人性别ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
			this->预约编号TextBox = (gcnew System::Windows::Forms::TextBox());
			this->住宿人数ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->房号TextBox = (gcnew System::Windows::Forms::TextBox());
			this->预收押金TextBox = (gcnew System::Windows::Forms::TextBox());
			this->入住日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->离开日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->客人姓名TextBox = (gcnew System::Windows::Forms::TextBox());
			this->联系电话TextBox = (gcnew System::Windows::Forms::TextBox());
			this->操作人员TextBox = (gcnew System::Windows::Forms::TextBox());
			this->新增Button = (gcnew System::Windows::Forms::Button());
			this->printPreviewDialog1 = (gcnew System::Windows::Forms::PrintPreviewDialog());
			this->打印Button = (gcnew System::Windows::Forms::Button());
			住宿人数Label = (gcnew System::Windows::Forms::Label());
			入住编号Label = (gcnew System::Windows::Forms::Label());
			房号Label = (gcnew System::Windows::Forms::Label());
			预收押金Label = (gcnew System::Windows::Forms::Label());
			入住日期Label = (gcnew System::Windows::Forms::Label());
			离开日期Label = (gcnew System::Windows::Forms::Label());
			客人姓名Label = (gcnew System::Windows::Forms::Label());
			客人性别Label = (gcnew System::Windows::Forms::Label());
			联系电话Label = (gcnew System::Windows::Forms::Label());
			操作人员Label = (gcnew System::Windows::Forms::Label());
			this->groupBox2->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->酒店可用房间DataGridView))->BeginInit();
			this->groupBox1->SuspendLayout();
			this->SuspendLayout();
			// 
			// 住宿人数Label
			// 
			住宿人数Label->AutoSize = true;
			住宿人数Label->Location = System::Drawing::Point(9, 196);
			住宿人数Label->Name = L"住宿人数Label";
			住宿人数Label->Size = System::Drawing::Size(59, 12);
			住宿人数Label->TabIndex = 59;
			住宿人数Label->Text = L"住宿人数:";
			// 
			// 入住编号Label
			// 
			入住编号Label->AutoSize = true;
			入住编号Label->Location = System::Drawing::Point(9, 336);
			入住编号Label->Name = L"入住编号Label";
			入住编号Label->Size = System::Drawing::Size(59, 12);
			入住编号Label->TabIndex = 35;
			入住编号Label->Text = L"预订编号:";
			// 
			// 房号Label
			// 
			房号Label->AutoSize = true;
			房号Label->Location = System::Drawing::Point(9, 21);
			房号Label->Name = L"房号Label";
			房号Label->Size = System::Drawing::Size(35, 12);
			房号Label->TabIndex = 36;
			房号Label->Text = L"房号:";
			// 
			// 预收押金Label
			// 
			预收押金Label->AutoSize = true;
			预收押金Label->Location = System::Drawing::Point(9, 56);
			预收押金Label->Name = L"预收押金Label";
			预收押金Label->Size = System::Drawing::Size(59, 12);
			预收押金Label->TabIndex = 40;
			预收押金Label->Text = L"预收押金:";
			// 
			// 入住日期Label
			// 
			入住日期Label->AutoSize = true;
			入住日期Label->Location = System::Drawing::Point(9, 91);
			入住日期Label->Name = L"入住日期Label";
			入住日期Label->Size = System::Drawing::Size(59, 12);
			入住日期Label->TabIndex = 42;
			入住日期Label->Text = L"入住日期:";
			// 
			// 离开日期Label
			// 
			离开日期Label->AutoSize = true;
			离开日期Label->Location = System::Drawing::Point(9, 126);
			离开日期Label->Name = L"离开日期Label";
			离开日期Label->Size = System::Drawing::Size(59, 12);
			离开日期Label->TabIndex = 44;
			离开日期Label->Text = L"离开日期:";
			// 
			// 客人姓名Label
			// 
			客人姓名Label->AutoSize = true;
			客人姓名Label->Location = System::Drawing::Point(9, 161);
			客人姓名Label->Name = L"客人姓名Label";
			客人姓名Label->Size = System::Drawing::Size(59, 12);
			客人姓名Label->TabIndex = 46;
			客人姓名Label->Text = L"客人姓名:";
			// 
			// 客人性别Label
			// 
			客人性别Label->AutoSize = true;
			客人性别Label->Location = System::Drawing::Point(9, 231);
			客人性别Label->Name = L"客人性别Label";
			客人性别Label->Size = System::Drawing::Size(59, 12);
			客人性别Label->TabIndex = 52;
			客人性别Label->Text = L"客人性别:";
			// 
			// 联系电话Label
			// 
			联系电话Label->AutoSize = true;
			联系电话Label->Location = System::Drawing::Point(9, 266);
			联系电话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, 301);
			操作人员Label->Name = L"操作人员Label";
			操作人员Label->Size = System::Drawing::Size(59, 12);
			操作人员Label->TabIndex = 56;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -