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

📄 changeform.h

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~ChangeForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Button^  根据当前选择换房Button;
	protected: 
	private: System::Windows::Forms::ComboBox^  酒店房间类别ComboBox;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Button^  旅客登记信息Button;
	private: System::Windows::Forms::TextBox^  入住编号TextBox;
	private: System::Windows::Forms::DataGridView^  客房入住单DataGridView;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::GroupBox^  groupBox2;
	private: System::Windows::Forms::DataGridView^  酒店客房信息DataGridView;
	private: System::Windows::Forms::GroupBox^  groupBox1;

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

#pragma region Windows Form Designer generated code
		/// <summary>
		/// 设计器支持所需的方法 - 不要
		/// 使用代码编辑器修改此方法的内容。
		/// </summary>
		void InitializeComponent(void)
		{
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(ChangeForm::typeid));
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle2 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			this->根据当前选择换房Button = (gcnew System::Windows::Forms::Button());
			this->酒店房间类别ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->旅客登记信息Button = (gcnew System::Windows::Forms::Button());
			this->入住编号TextBox = (gcnew System::Windows::Forms::TextBox());
			this->客房入住单DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
			this->酒店客房信息DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->客房入住单DataGridView))->BeginInit();
			this->groupBox2->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->酒店客房信息DataGridView))->BeginInit();
			this->groupBox1->SuspendLayout();
			this->SuspendLayout();
			// 
			// 根据当前选择换房Button
			// 
			this->根据当前选择换房Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"根据当前选择换房Button.Image")));
			this->根据当前选择换房Button->Location = System::Drawing::Point(466, 3);
			this->根据当前选择换房Button->Name = L"根据当前选择换房Button";
			this->根据当前选择换房Button->Size = System::Drawing::Size(70, 25);
			this->根据当前选择换房Button->TabIndex = 18;
			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, &ChangeForm::根据当前选择换房Button_Click);
			// 
			// 酒店房间类别ComboBox
			// 
			this->酒店房间类别ComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->酒店房间类别ComboBox->FormattingEnabled = true;
			this->酒店房间类别ComboBox->Location = System::Drawing::Point(294, 6);
			this->酒店房间类别ComboBox->Name = L"酒店房间类别ComboBox";
			this->酒店房间类别ComboBox->Size = System::Drawing::Size(90, 20);
			this->酒店房间类别ComboBox->TabIndex = 17;
			this->酒店房间类别ComboBox->SelectedIndexChanged += gcnew System::EventHandler(this, &ChangeForm::酒店房间类别ComboBox_SelectedIndexChanged);
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(199, 10);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(89, 12);
			this->label2->TabIndex = 16;
			this->label2->Text = L"酒店房间类别:";
			// 
			// 旅客登记信息Button
			// 
			this->旅客登记信息Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"旅客登记信息Button.Image")));
			this->旅客登记信息Button->Location = System::Drawing::Point(390, 3);
			this->旅客登记信息Button->Name = L"旅客登记信息Button";
			this->旅客登记信息Button->Size = System::Drawing::Size(70, 25);
			this->旅客登记信息Button->TabIndex = 15;
			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, &ChangeForm::旅客登记信息Button_Click);
			// 
			// 入住编号TextBox
			// 
			this->入住编号TextBox->Location = System::Drawing::Point(100, 5);
			this->入住编号TextBox->Name = L"入住编号TextBox";
			this->入住编号TextBox->Size = System::Drawing::Size(91, 21);
			this->入住编号TextBox->TabIndex = 14;
			this->入住编号TextBox->Text = L"%";
			// 
			// 客房入住单DataGridView
			// 
			this->客房入住单DataGridView->BackgroundColor = System::Drawing::SystemColors::Highlight;
			this->客房入住单DataGridView->Location = System::Drawing::Point(4, 16);
			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(525, 173);
			this->客房入住单DataGridView->TabIndex = 2;
			// 
			// label1
			// 
			this->label1->AutoSize = true;

⌨️ 快捷键说明

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