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

📄 querypayform.h

📁 这是一个用VC++编写的人事工资管理系统,开发平台为VS2005,是开发企业管理程序的程序员的很好参考!
💻 H
📖 第 1 页 / 共 4 页
字号:
//文件名:QueryPayForm.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>
	/// QueryPayForm 摘要
	///
	/// 警告: 如果更改此类的名称,则需要更改
	///          与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
	///          “资源文件名”属性。否则,
	///          设计器将不能与此窗体的关联
	///          本地化资源正确交互。
	/// </summary>
	public ref class QueryPayForm : public System::Windows::Forms::Form
	{
	public:
		QueryPayForm(void)
		{
			InitializeComponent();
			//
			//TODO: 在此处添加构造函数代码
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~QueryPayForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: My::MyPersonnelDataSet^  MyPersonnelDataSet;
	protected: 
	private: System::Windows::Forms::BindingSource^  工资发放表BindingSource;
	private: My::MyPersonnelDataSetTableAdapters::工资发放表TableAdapter^  工资发放表TableAdapter;
	private: System::Windows::Forms::DataGridView^  工资发放表DataGridView;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn10;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn11;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn12;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn13;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn14;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn15;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn16;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn17;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn18;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn19;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn20;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn21;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn22;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn23;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn24;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn25;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::BindingNavigator^  工资发放表BindingNavigator;
	private: System::Windows::Forms::ToolStripLabel^  发放年份ToolStripLabel;
	private: System::Windows::Forms::ToolStripComboBox^  年份ToolStripComboBox;
	private: System::Windows::Forms::ToolStripLabel^  发放月份ToolStripLabel;
	private: System::Windows::Forms::ToolStripComboBox^  月份ToolStripComboBox;
	private: System::Windows::Forms::ToolStripLabel^  部门ToolStripLabel;
	private: System::Windows::Forms::ToolStripComboBox^  部门ToolStripComboBox;
	private: System::Windows::Forms::ToolStripButton^  查询ToolStripButton;
	private: System::Windows::Forms::ToolStripButton^  打印全部信息ToolStripButton;
	private: System::Windows::Forms::ToolStripButton^  打印银行入帐单ToolStripButton;
	private: System::Windows::Forms::ToolStripButton^  打印养老险入帐单ToolStripButton;
	private: System::Windows::Forms::ToolStripButton^  打印医疗险入帐单ToolStripButton;
	private: System::Windows::Forms::ToolStripButton^  打印住房基金入帐单ToolStripButton;





















	private: System::ComponentModel::IContainer^  components;

	private:
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>


#pragma region Windows Form Designer generated code
		/// <summary>
		/// 设计器支持所需的方法 - 不要
		/// 使用代码编辑器修改此方法的内容。
		/// </summary>
		void InitializeComponent(void)
		{
			this->components = (gcnew System::ComponentModel::Container());
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(QueryPayForm::typeid));
			this->MyPersonnelDataSet = (gcnew My::MyPersonnelDataSet());
			this->工资发放表BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->工资发放表TableAdapter = (gcnew My::MyPersonnelDataSetTableAdapters::工资发放表TableAdapter());
			this->工资发放表DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn15 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn16 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn17 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn18 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn19 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn20 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn21 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn24 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn25 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->工资发放表BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
			this->发放年份ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
			this->年份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
			this->发放月份ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
			this->月份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
			this->部门ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
			this->部门ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
			this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->打印全部信息ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->打印银行入帐单ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->打印养老险入帐单ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->打印医疗险入帐单ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->打印住房基金入帐单ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->MyPersonnelDataSet))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->工资发放表BindingSource))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->工资发放表DataGridView))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->工资发放表BindingNavigator))->BeginInit();
			this->工资发放表BindingNavigator->SuspendLayout();
			this->SuspendLayout();
			// 
			// MyPersonnelDataSet
			// 
			this->MyPersonnelDataSet->DataSetName = L"MyPersonnelDataSet";
			this->MyPersonnelDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
			// 
			// 工资发放表BindingSource
			// 
			this->工资发放表BindingSource->DataMember = L"工资发放表";
			this->工资发放表BindingSource->DataSource = this->MyPersonnelDataSet;
			// 
			// 工资发放表TableAdapter
			// 
			this->工资发放表TableAdapter->ClearBeforeFill = true;
			// 
			// 工资发放表DataGridView
			// 
			this->工资发放表DataGridView->AllowUserToAddRows = false;
			this->工资发放表DataGridView->AllowUserToDeleteRows = false;
			this->工资发放表DataGridView->AllowUserToResizeRows = false;
			this->工资发放表DataGridView->AutoGenerateColumns = false;
			this->工资发放表DataGridView->BackgroundColor = System::Drawing::SystemColors::ActiveCaption;
			this->工资发放表DataGridView->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(25) {this->dataGridViewTextBoxColumn3, 
				this->dataGridViewTextBoxColumn4, this->dataGridViewTextBoxColumn5, this->dataGridViewTextBoxColumn6, this->dataGridViewTextBoxColumn7, 
				this->dataGridViewTextBoxColumn8, this->dataGridViewTextBoxColumn9, this->dataGridViewTextBoxColumn10, this->dataGridViewTextBoxColumn11, 
				this->dataGridViewTextBoxColumn12, this->dataGridViewTextBoxColumn13, this->dataGridViewTextBoxColumn14, this->dataGridViewTextBoxColumn15, 
				this->dataGridViewTextBoxColumn16, this->dataGridViewTextBoxColumn17, this->dataGridViewTextBoxColumn18, this->dataGridViewTextBoxColumn19, 
				this->dataGridViewTextBoxColumn20, this->dataGridViewTextBoxColumn21, this->dataGridViewTextBoxColumn22, this->dataGridViewTextBoxColumn23, 
				this->dataGridViewTextBoxColumn24, this->dataGridViewTextBoxColumn25, this->dataGridViewTextBoxColumn1, this->dataGridViewTextBoxColumn2});
			this->工资发放表DataGridView->DataSource = this->工资发放表BindingSource;
			dataGridViewCellStyle1->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
			dataGridViewCellStyle1->BackColor = System::Drawing::Color::Green;
			dataGridViewCellStyle1->Font = (gcnew System::Drawing::Font(L"宋体", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(134)));
			dataGridViewCellStyle1->ForeColor = System::Drawing::Color::Yellow;
			dataGridViewCellStyle1->SelectionBackColor = System::Drawing::SystemColors::Highlight;
			dataGridViewCellStyle1->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
			dataGridViewCellStyle1->WrapMode = System::Windows::Forms::DataGridViewTriState::False;
			this->工资发放表DataGridView->DefaultCellStyle = dataGridViewCellStyle1;
			this->工资发放表DataGridView->Dock = System::Windows::Forms::DockStyle::Fill;
			this->工资发放表DataGridView->Location = System::Drawing::Point(0, 25);
			this->工资发放表DataGridView->MultiSelect = false;
			this->工资发放表DataGridView->Name = L"工资发放表DataGridView";
			this->工资发放表DataGridView->ReadOnly = true;

⌨️ 快捷键说明

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