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

📄 depositform.h

📁 宾馆酒店管理系统,建议在简体中文版Microsoft Windows Server 2003(SP1)/Microsoft Office 2003(SP2)/Microsoft SQL Server
💻 H
📖 第 1 页 / 共 2 页
字号:
//文件名:DepositForm.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>
	/// DepositForm 摘要
	///
	/// 警告: 如果更改此类的名称,则需要更改
	///          与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
	///          “资源文件名”属性。否则,
	///          设计器将不能与此窗体的关联
	///          本地化资源正确交互。
	/// </summary>
	public ref class DepositForm : public System::Windows::Forms::Form
	{
	public:
		DepositForm(void)
		{
			InitializeComponent();
			//
			//TODO: 在此处添加构造函数代码
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~DepositForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Label^  label6;
	protected: 
	private: System::Windows::Forms::TextBox^  电话费TextBox;
	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::TextBox^  住宿费TextBox;
	private: System::Windows::Forms::Label^  label7;
	private: System::Windows::Forms::TextBox^  补交押金TextBox;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::Label^  label8;
	private: System::Drawing::Printing::PrintDocument^  printDocument1;
	private: System::Windows::Forms::Label^  label10;
	private: System::Windows::Forms::DataGridView^  客房入住单DataGridView;
	private: System::Windows::Forms::PrintPreviewDialog^  printPreviewDialog1;
	private: System::Windows::Forms::TextBox^  费用总额TextBox;
	private: System::Windows::Forms::Label^  label9;
	private: System::Windows::Forms::TextBox^  用餐费TextBox;
	private: System::Windows::Forms::TextBox^  预收押金TextBox;
	private: System::Windows::Forms::TextBox^  说明TextBox;
	private: System::Windows::Forms::TextBox^  店内消费TextBox;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::GroupBox^  groupBox2;
	private: System::Windows::Forms::GroupBox^  groupBox1;
	private: System::Windows::Forms::Button^  保存Button;
	private: System::Windows::Forms::Button^  打印Button;
	private: System::Windows::Forms::ComboBox^  酒店房号ComboBox;
	private: System::Windows::Forms::ComboBox^  旅客姓名ComboBox;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Label^  label1;

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

#pragma region Windows Form Designer generated code
		/// <summary>
		/// 设计器支持所需的方法 - 不要
		/// 使用代码编辑器修改此方法的内容。
		/// </summary>
		void InitializeComponent(void)
		{
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(DepositForm::typeid));
			this->label6 = (gcnew System::Windows::Forms::Label());
			this->电话费TextBox = (gcnew System::Windows::Forms::TextBox());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->住宿费TextBox = (gcnew System::Windows::Forms::TextBox());
			this->label7 = (gcnew System::Windows::Forms::Label());
			this->补交押金TextBox = (gcnew System::Windows::Forms::TextBox());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->label8 = (gcnew System::Windows::Forms::Label());
			this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
			this->label10 = (gcnew System::Windows::Forms::Label());
			this->客房入住单DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->printPreviewDialog1 = (gcnew System::Windows::Forms::PrintPreviewDialog());
			this->费用总额TextBox = (gcnew System::Windows::Forms::TextBox());
			this->label9 = (gcnew System::Windows::Forms::Label());
			this->用餐费TextBox = (gcnew System::Windows::Forms::TextBox());
			this->预收押金TextBox = (gcnew System::Windows::Forms::TextBox());
			this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
			this->店内消费TextBox = (gcnew System::Windows::Forms::TextBox());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
			this->保存Button = (gcnew System::Windows::Forms::Button());
			this->打印Button = (gcnew System::Windows::Forms::Button());
			this->酒店房号ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->旅客姓名ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->label1 = (gcnew System::Windows::Forms::Label());
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->客房入住单DataGridView))->BeginInit();
			this->groupBox2->SuspendLayout();
			this->groupBox1->SuspendLayout();
			this->SuspendLayout();
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->Location = System::Drawing::Point(10, 106);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(53, 12);
			this->label6->TabIndex = 6;
			this->label6->Text = L"用餐费:";
			// 
			// 电话费TextBox
			// 
			this->电话费TextBox->Location = System::Drawing::Point(81, 74);
			this->电话费TextBox->Name = L"电话费TextBox";
			this->电话费TextBox->ReadOnly = true;
			this->电话费TextBox->Size = System::Drawing::Size(179, 21);
			this->电话费TextBox->TabIndex = 5;
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Location = System::Drawing::Point(10, 79);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(53, 12);
			this->label5->TabIndex = 4;
			this->label5->Text = L"电话费:";
			// 
			// 住宿费TextBox
			// 
			this->住宿费TextBox->Location = System::Drawing::Point(81, 47);
			this->住宿费TextBox->Name = L"住宿费TextBox";
			this->住宿费TextBox->ReadOnly = true;
			this->住宿费TextBox->Size = System::Drawing::Size(179, 21);
			this->住宿费TextBox->TabIndex = 3;
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->Location = System::Drawing::Point(10, 106);
			this->label7->Name = L"label7";
			this->label7->Size = System::Drawing::Size(41, 12);
			this->label7->TabIndex = 6;
			this->label7->Text = L"说明:";
			// 
			// 补交押金TextBox
			// 
			this->补交押金TextBox->Location = System::Drawing::Point(81, 74);
			this->补交押金TextBox->Name = L"补交押金TextBox";
			this->补交押金TextBox->Size = System::Drawing::Size(168, 21);
			this->补交押金TextBox->TabIndex = 5;
			this->补交押金TextBox->Text = L"0";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Location = System::Drawing::Point(10, 52);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(53, 12);
			this->label4->TabIndex = 2;
			this->label4->Text = L"住宿费:";
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Location = System::Drawing::Point(10, 79);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(65, 12);
			this->label8->TabIndex = 4;
			this->label8->Text = L"补交押金:";
			// 
			// printDocument1
			// 
			this->printDocument1->PrintPage += gcnew System::Drawing::Printing::PrintPageEventHandler(this, &DepositForm::printDocument1_PrintPage);
			// 
			// label10
			// 
			this->label10->AutoSize = true;
			this->label10->Location = System::Drawing::Point(10, 25);
			this->label10->Name = L"label10";
			this->label10->Size = System::Drawing::Size(65, 12);
			this->label10->TabIndex = 0;
			this->label10->Text = L"预收押金:";
			// 
			// 客房入住单DataGridView
			// 
			this->客房入住单DataGridView->BackgroundColor = System::Drawing::SystemColors::Highlight;
			this->客房入住单DataGridView->Location = System::Drawing::Point(5, 174);
			this->客房入住单DataGridView->Name = L"客房入住单DataGridView";
			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(532, 235);
			this->客房入住单DataGridView->TabIndex = 47;
			// 
			// 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;
			// 
			// 费用总额TextBox
			// 
			this->费用总额TextBox->Location = System::Drawing::Point(81, 47);
			this->费用总额TextBox->Name = L"费用总额TextBox";
			this->费用总额TextBox->ReadOnly = true;
			this->费用总额TextBox->Size = System::Drawing::Size(168, 21);
			this->费用总额TextBox->TabIndex = 3;
			// 
			// label9
			// 
			this->label9->AutoSize = true;
			this->label9->Location = System::Drawing::Point(10, 52);
			this->label9->Name = L"label9";
			this->label9->Size = System::Drawing::Size(65, 12);
			this->label9->TabIndex = 2;
			this->label9->Text = L"费用总额:";
			// 
			// 用餐费TextBox
			// 
			this->用餐费TextBox->Location = System::Drawing::Point(81, 101);
			this->用餐费TextBox->Name = L"用餐费TextBox";
			this->用餐费TextBox->ReadOnly = true;
			this->用餐费TextBox->Size = System::Drawing::Size(179, 21);
			this->用餐费TextBox->TabIndex = 7;
			// 
			// 预收押金TextBox
			// 
			this->预收押金TextBox->Location = System::Drawing::Point(81, 20);
			this->预收押金TextBox->Name = L"预收押金TextBox";
			this->预收押金TextBox->ReadOnly = true;
			this->预收押金TextBox->Size = System::Drawing::Size(168, 21);
			this->预收押金TextBox->TabIndex = 1;
			// 
			// 说明TextBox
			// 
			this->说明TextBox->Location = System::Drawing::Point(81, 101);
			this->说明TextBox->Name = L"说明TextBox";
			this->说明TextBox->Size = System::Drawing::Size(168, 21);
			this->说明TextBox->TabIndex = 7;
			this->说明TextBox->Text = L"旅客曾经补交押金";
			// 
			// 店内消费TextBox
			// 
			this->店内消费TextBox->Location = System::Drawing::Point(81, 20);
			this->店内消费TextBox->Name = L"店内消费TextBox";
			this->店内消费TextBox->ReadOnly = true;
			this->店内消费TextBox->Size = System::Drawing::Size(179, 21);
			this->店内消费TextBox->TabIndex = 1;
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Location = System::Drawing::Point(10, 25);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(65, 12);
			this->label3->TabIndex = 0;
			this->label3->Text = L"店内消费:";
			// 
			// groupBox2
			// 
			this->groupBox2->Controls->Add(this->说明TextBox);
			this->groupBox2->Controls->Add(this->label7);
			this->groupBox2->Controls->Add(this->补交押金TextBox);
			this->groupBox2->Controls->Add(this->label8);
			this->groupBox2->Controls->Add(this->费用总额TextBox);
			this->groupBox2->Controls->Add(this->label9);
			this->groupBox2->Controls->Add(this->预收押金TextBox);

⌨️ 快捷键说明

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