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

📄 telephoneform.h

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~TelephoneForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::ComboBox^  类别ComboBox;
	protected: 
	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::TextBox^  通话时间TextBox;
	private: System::Windows::Forms::Button^  新增Button;
	private: System::Windows::Forms::DataGridView^  旅客话费表DataGridView;
	private: System::Windows::Forms::Button^  保存Button;
	private: System::Windows::Forms::Button^  打印Button;
	private: System::Windows::Forms::TextBox^  说明TextBox;
	private: System::Drawing::Printing::PrintDocument^  printDocument1;
	private: System::Windows::Forms::ComboBox^  旅客姓名ComboBox;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::TextBox^  金额TextBox;
	private: System::Windows::Forms::PrintPreviewDialog^  printPreviewDialog1;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::ComboBox^  酒店房号ComboBox;

	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::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(TelephoneForm::typeid));
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle4 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			this->类别ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->通话时间TextBox = (gcnew System::Windows::Forms::TextBox());
			this->新增Button = (gcnew System::Windows::Forms::Button());
			this->旅客话费表DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->保存Button = (gcnew System::Windows::Forms::Button());
			this->打印Button = (gcnew System::Windows::Forms::Button());
			this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
			this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
			this->旅客姓名ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->金额TextBox = (gcnew System::Windows::Forms::TextBox());
			this->printPreviewDialog1 = (gcnew System::Windows::Forms::PrintPreviewDialog());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->酒店房号ComboBox = (gcnew System::Windows::Forms::ComboBox());
			入住日期Label = (gcnew System::Windows::Forms::Label());
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->旅客话费表DataGridView))->BeginInit();
			this->SuspendLayout();
			// 
			// 入住日期Label
			// 
			入住日期Label->AutoSize = true;
			入住日期Label->Location = System::Drawing::Point(9, 34);
			入住日期Label->Name = L"入住日期Label";
			入住日期Label->Size = System::Drawing::Size(65, 12);
			入住日期Label->TabIndex = 79;
			入住日期Label->Text = L"通话时间:";
			// 
			// 类别ComboBox
			// 
			this->类别ComboBox->FormattingEnabled = true;
			this->类别ComboBox->Items->AddRange(gcnew cli::array< System::Object^  >(3) {L"国际长途", L"国内长途", L"市话"});
			this->类别ComboBox->Location = System::Drawing::Point(329, 31);
			this->类别ComboBox->Name = L"类别ComboBox";
			this->类别ComboBox->Size = System::Drawing::Size(106, 20);
			this->类别ComboBox->TabIndex = 90;
			this->类别ComboBox->Text = L"国际长途";
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Location = System::Drawing::Point(260, 34);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(41, 12);
			this->label5->TabIndex = 89;
			this->label5->Text = L"类别:";
			// 
			// 通话时间TextBox
			// 
			this->通话时间TextBox->Location = System::Drawing::Point(84, 31);
			this->通话时间TextBox->Name = L"通话时间TextBox";
			this->通话时间TextBox->Size = System::Drawing::Size(168, 21);
			this->通话时间TextBox->TabIndex = 88;
			this->通话时间TextBox->Text = L"2007年10月23日13点";
			// 
			// 新增Button
			// 
			this->新增Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"新增Button.Image")));
			this->新增Button->Location = System::Drawing::Point(441, 2);
			this->新增Button->Name = L"新增Button";
			this->新增Button->Size = System::Drawing::Size(97, 25);
			this->新增Button->TabIndex = 87;
			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, &TelephoneForm::新增Button_Click);
			// 
			// 旅客话费表DataGridView
			// 
			this->旅客话费表DataGridView->BackgroundColor = System::Drawing::SystemColors::MenuHighlight;
			this->旅客话费表DataGridView->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
			this->旅客话费表DataGridView->Location = System::Drawing::Point(4, 85);
			this->旅客话费表DataGridView->Name = L"旅客话费表DataGridView";
			this->旅客话费表DataGridView->RowHeadersVisible = false;
			dataGridViewCellStyle4->BackColor = System::Drawing::Color::Green;
			dataGridViewCellStyle4->ForeColor = System::Drawing::Color::Yellow;
			this->旅客话费表DataGridView->RowsDefaultCellStyle = dataGridViewCellStyle4;
			this->旅客话费表DataGridView->RowTemplate->Height = 23;
			this->旅客话费表DataGridView->Size = System::Drawing::Size(533, 325);
			this->旅客话费表DataGridView->TabIndex = 86;
			// 
			// 保存Button
			// 
			this->保存Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"保存Button.Image")));
			this->保存Button->Location = System::Drawing::Point(441, 56);
			this->保存Button->Name = L"保存Button";
			this->保存Button->Size = System::Drawing::Size(97, 25);
			this->保存Button->TabIndex = 85;
			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, &TelephoneForm::保存Button_Click);
			// 
			// 打印Button
			// 
			this->打印Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"打印Button.Image")));
			this->打印Button->Location = System::Drawing::Point(441, 29);
			this->打印Button->Name = L"打印Button";
			this->打印Button->Size = System::Drawing::Size(97, 25);
			this->打印Button->TabIndex = 84;
			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, &TelephoneForm::打印Button_Click);
			// 
			// 说明TextBox
			// 
			this->说明TextBox->Location = System::Drawing::Point(297, 58);
			this->说明TextBox->Name = L"说明TextBox";
			this->说明TextBox->Size = System::Drawing::Size(138, 21);
			this->说明TextBox->TabIndex = 83;
			// 
			// printDocument1
			// 
			this->printDocument1->PrintPage += gcnew System::Drawing::Printing::PrintPageEventHandler(this, &TelephoneForm::printDocument1_PrintPage);
			// 
			// 旅客姓名ComboBox
			// 
			this->旅客姓名ComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->旅客姓名ComboBox->FormattingEnabled = true;
			this->旅客姓名ComboBox->Location = System::Drawing::Point(331, 5);
			this->旅客姓名ComboBox->Name = L"旅客姓名ComboBox";
			this->旅客姓名ComboBox->Size = System::Drawing::Size(104, 20);
			this->旅客姓名ComboBox->TabIndex = 77;
			this->旅客姓名ComboBox->SelectedIndexChanged += gcnew System::EventHandler(this, &TelephoneForm::旅客姓名ComboBox_SelectedIndexChanged);
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(260, 8);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(65, 12);
			this->label2->TabIndex = 76;
			this->label2->Text = L"旅客姓名:";
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(9, 8);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(65, 12);
			this->label1->TabIndex = 75;
			this->label1->Text = L"酒店房号:";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Location = System::Drawing::Point(260, 61);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(41, 12);
			this->label4->TabIndex = 82;
			this->label4->Text = L"说明:";
			// 
			// 金额TextBox
			// 
			this->金额TextBox->Location = System::Drawing::Point(84, 58);
			this->金额TextBox->Name = L"金额TextBox";
			this->金额TextBox->Size = System::Drawing::Size(168, 21);
			this->金额TextBox->TabIndex = 81;
			this->金额TextBox->Text = L"78.00";
			// 
			// 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;
			// 
			// label3
			// 

⌨️ 快捷键说明

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