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

📄 computeform.h

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~ComputeForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: My::MyPersonnelDataSet^  MyPersonnelDataSet;
	protected: 
	private: System::Windows::Forms::BindingSource^  工资核算表BindingSource;
	private: My::MyPersonnelDataSetTableAdapters::工资核算表TableAdapter^  工资核算表TableAdapter;
	private: System::Windows::Forms::BindingNavigator^  工资核算表BindingNavigator;











	private: System::Windows::Forms::ToolStripButton^  工资核算表BindingNavigatorSaveItem;
	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::ToolStripLabel^  toolStripLabel1;
	private: System::Windows::Forms::ToolStripComboBox^  年份ToolStripComboBox;
	private: System::Windows::Forms::ToolStripLabel^  toolStripLabel2;
	private: System::Windows::Forms::ToolStripComboBox^  月份ToolStripComboBox;
	private: System::Windows::Forms::ToolStripButton^  发工资ToolStripButton;
	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^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
















	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::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(ComputeForm::typeid));
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			this->MyPersonnelDataSet = (gcnew My::MyPersonnelDataSet());
			this->工资核算表BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->工资核算表TableAdapter = (gcnew My::MyPersonnelDataSetTableAdapters::工资核算表TableAdapter());
			this->工资核算表BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
			this->部门ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
			this->部门ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
			this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->工资核算表BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->打印ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
			this->年份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
			this->toolStripLabel2 = (gcnew System::Windows::Forms::ToolStripLabel());
			this->月份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
			this->发工资ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			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->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			(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->工资核算表BindingNavigator))->BeginInit();
			this->工资核算表BindingNavigator->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->工资核算表DataGridView))->BeginInit();
			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;
			// 
			// 工资核算表BindingNavigator
			// 
			this->工资核算表BindingNavigator->AddNewItem = nullptr;
			this->工资核算表BindingNavigator->BindingSource = this->工资核算表BindingSource;
			this->工资核算表BindingNavigator->CountItem = nullptr;
			this->工资核算表BindingNavigator->DeleteItem = nullptr;
			this->工资核算表BindingNavigator->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(10) {this->部门ToolStripLabel, 
				this->部门ToolStripComboBox, this->查询ToolStripButton, this->工资核算表BindingNavigatorSaveItem, this->打印ToolStripButton, this->toolStripLabel1, 
				this->年份ToolStripComboBox, this->toolStripLabel2, this->月份ToolStripComboBox, this->发工资ToolStripButton});
			this->工资核算表BindingNavigator->Location = System::Drawing::Point(0, 0);
			this->工资核算表BindingNavigator->MoveFirstItem = nullptr;
			this->工资核算表BindingNavigator->MoveLastItem = nullptr;
			this->工资核算表BindingNavigator->MoveNextItem = nullptr;
			this->工资核算表BindingNavigator->MovePreviousItem = nullptr;
			this->工资核算表BindingNavigator->Name = L"工资核算表BindingNavigator";
			this->工资核算表BindingNavigator->PositionItem = nullptr;
			this->工资核算表BindingNavigator->Size = System::Drawing::Size(562, 25);
			this->工资核算表BindingNavigator->TabIndex = 0;
			this->工资核算表BindingNavigator->Text = L"bindingNavigator1";
			// 
			// 部门ToolStripLabel
			// 
			this->部门ToolStripLabel->Name = L"部门ToolStripLabel";
			this->部门ToolStripLabel->Size = System::Drawing::Size(35, 22);
			this->部门ToolStripLabel->Text = L"部门:";
			// 
			// 部门ToolStripComboBox
			// 
			this->部门ToolStripComboBox->DropDownWidth = 75;
			this->部门ToolStripComboBox->Name = L"部门ToolStripComboBox";
			this->部门ToolStripComboBox->Size = System::Drawing::Size(75, 25);
			// 
			// 查询ToolStripButton
			// 
			this->查询ToolStripButton->Name = L"查询ToolStripButton";
			this->查询ToolStripButton->Size = System::Drawing::Size(33, 22);
			this->查询ToolStripButton->Text = L"查询";
			this->查询ToolStripButton->Click += gcnew System::EventHandler(this, &ComputeForm::查询ToolStripButton_Click);
			// 
			// 工资核算表BindingNavigatorSaveItem
			// 
			this->工资核算表BindingNavigatorSaveItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"工资核算表BindingNavigatorSaveItem.Image")));
			this->工资核算表BindingNavigatorSaveItem->Name = L"工资核算表BindingNavigatorSaveItem";
			this->工资核算表BindingNavigatorSaveItem->Size = System::Drawing::Size(49, 22);
			this->工资核算表BindingNavigatorSaveItem->Text = L"保存";
			this->工资核算表BindingNavigatorSaveItem->Click += gcnew System::EventHandler(this, &ComputeForm::工资核算表BindingNavigatorSaveItem_Click);
			// 
			// 打印ToolStripButton
			// 
			this->打印ToolStripButton->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"打印ToolStripButton.Image")));
			this->打印ToolStripButton->ImageTransparentColor = System::Drawing::Color::Magenta;
			this->打印ToolStripButton->Name = L"打印ToolStripButton";
			this->打印ToolStripButton->Size = System::Drawing::Size(49, 22);
			this->打印ToolStripButton->Text = L"打印";
			this->打印ToolStripButton->Click += gcnew System::EventHandler(this, &ComputeForm::打印ToolStripButton_Click);
			// 
			// toolStripLabel1
			// 
			this->toolStripLabel1->Name = L"toolStripLabel1";
			this->toolStripLabel1->Size = System::Drawing::Size(41, 22);
			this->toolStripLabel1->Text = L"年份:";
			// 
			// 年份ToolStripComboBox
			// 
			this->年份ToolStripComboBox->DropDownHeight = 150;
			this->年份ToolStripComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->年份ToolStripComboBox->DropDownWidth = 40;
			this->年份ToolStripComboBox->IntegralHeight = false;
			this->年份ToolStripComboBox->Name = L"年份ToolStripComboBox";
			this->年份ToolStripComboBox->Size = System::Drawing::Size(75, 25);
			// 
			// toolStripLabel2
			// 
			this->toolStripLabel2->Name = L"toolStripLabel2";
			this->toolStripLabel2->Size = System::Drawing::Size(41, 22);
			this->toolStripLabel2->Text = L"月份:";
			// 
			// 月份ToolStripComboBox
			// 
			this->月份ToolStripComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->月份ToolStripComboBox->Name = L"月份ToolStripComboBox";
			this->月份ToolStripComboBox->Size = System::Drawing::Size(75, 25);
			// 
			// 发工资ToolStripButton
			// 
			this->发工资ToolStripButton->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"发工资ToolStripButton.Image")));
			this->发工资ToolStripButton->ImageTransparentColor = System::Drawing::Color::Magenta;
			this->发工资ToolStripButton->Name = L"发工资ToolStripButton";
			this->发工资ToolStripButton->Size = System::Drawing::Size(61, 22);
			this->发工资ToolStripButton->Text = L"发工资";
			this->发工资ToolStripButton->Click += gcnew System::EventHandler(this, &ComputeForm::发工资ToolStripButton_Click);
			// 
			// 工资核算表DataGridView
			// 
			this->工资核算表DataGridView->AllowUserToAddRows = false;
			this->工资核算表DataGridView->AllowUserToDeleteRows = false;

⌨️ 快捷键说明

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