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

📄 queryconsumeform.h

📁 宾馆酒店管理系统,建议在简体中文版Microsoft Windows Server 2003(SP1)/Microsoft Office 2003(SP2)/Microsoft SQL Server
💻 H
📖 第 1 页 / 共 2 页
字号:
//文件名:QueryConsumeForm.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;
using namespace Microsoft::Office::Interop::Excel;
using namespace System::Reflection;

namespace 宾馆酒店管理系统 {

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~QueryConsumeForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::Button^  打印Button;
	protected: 
	private: System::Windows::Forms::Button^  查询Button;
	private: System::Windows::Forms::DataGridView^  消费品分类DataGridView;
	private: System::Windows::Forms::ComboBox^  商品名称ComboBox;
	private: System::Windows::Forms::DateTimePicker^  开始日期DateTimePicker;
	private: System::Windows::Forms::DateTimePicker^  结束日期DateTimePicker;

	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::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(QueryConsumeForm::typeid));
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			this->打印Button = (gcnew System::Windows::Forms::Button());
			this->查询Button = (gcnew System::Windows::Forms::Button());
			this->消费品分类DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->商品名称ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->开始日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->结束日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			商品名称Label = (gcnew System::Windows::Forms::Label());
			开始日期Label = (gcnew System::Windows::Forms::Label());
			结束日期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(6, 34);
			商品名称Label->Name = L"商品名称Label";
			商品名称Label->Size = System::Drawing::Size(59, 12);
			商品名称Label->TabIndex = 71;
			商品名称Label->Text = L"商品名称:";
			// 
			// 开始日期Label
			// 
			开始日期Label->AutoSize = true;
			开始日期Label->Location = System::Drawing::Point(6, 8);
			开始日期Label->Name = L"开始日期Label";
			开始日期Label->Size = System::Drawing::Size(59, 12);
			开始日期Label->TabIndex = 67;
			开始日期Label->Text = L"开始日期:";
			// 
			// 结束日期Label
			// 
			结束日期Label->AutoSize = true;
			结束日期Label->Location = System::Drawing::Point(276, 8);
			结束日期Label->Name = L"结束日期Label";
			结束日期Label->Size = System::Drawing::Size(59, 12);
			结束日期Label->TabIndex = 69;
			结束日期Label->Text = L"结束日期:";
			// 
			// 打印Button
			// 
			this->打印Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"打印Button.Image")));
			this->打印Button->Location = System::Drawing::Point(411, 28);
			this->打印Button->Name = L"打印Button";
			this->打印Button->Size = System::Drawing::Size(100, 25);
			this->打印Button->TabIndex = 75;
			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, &QueryConsumeForm::打印Button_Click);
			// 
			// 查询Button
			// 
			this->查询Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"查询Button.Image")));
			this->查询Button->Location = System::Drawing::Point(298, 28);
			this->查询Button->Name = L"查询Button";
			this->查询Button->Size = System::Drawing::Size(100, 25);
			this->查询Button->TabIndex = 74;
			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, &QueryConsumeForm::查询Button_Click);
			// 
			// 消费品分类DataGridView
			// 
			this->消费品分类DataGridView->BackgroundColor = System::Drawing::SystemColors::MenuHighlight;
			this->消费品分类DataGridView->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
			this->消费品分类DataGridView->Location = System::Drawing::Point(3, 60);
			this->消费品分类DataGridView->Name = L"消费品分类DataGridView";
			this->消费品分类DataGridView->ReadOnly = true;
			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(535, 350);
			this->消费品分类DataGridView->TabIndex = 73;
			// 
			// 商品名称ComboBox
			// 
			this->商品名称ComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->商品名称ComboBox->FormattingEnabled = true;
			this->商品名称ComboBox->Location = System::Drawing::Point(71, 31);
			this->商品名称ComboBox->Name = L"商品名称ComboBox";
			this->商品名称ComboBox->Size = System::Drawing::Size(199, 20);
			this->商品名称ComboBox->TabIndex = 72;
			// 
			// 开始日期DateTimePicker
			// 
			this->开始日期DateTimePicker->Location = System::Drawing::Point(71, 4);
			this->开始日期DateTimePicker->Name = L"开始日期DateTimePicker";
			this->开始日期DateTimePicker->Size = System::Drawing::Size(199, 21);
			this->开始日期DateTimePicker->TabIndex = 68;
			this->开始日期DateTimePicker->Value = System::DateTime(2005, 3, 27, 22, 27, 0, 0);
			// 
			// 结束日期DateTimePicker
			// 
			this->结束日期DateTimePicker->Location = System::Drawing::Point(341, 4);
			this->结束日期DateTimePicker->Name = L"结束日期DateTimePicker";
			this->结束日期DateTimePicker->Size = System::Drawing::Size(197, 21);
			this->结束日期DateTimePicker->TabIndex = 70;
			// 
			// QueryConsumeForm
			// 
			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->ClientSize = System::Drawing::Size(540, 414);
			this->Controls->Add(this->打印Button);
			this->Controls->Add(this->查询Button);

⌨️ 快捷键说明

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