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

📄 rewardsform.h

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~RewardsForm()
		{
			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^  bindingNavigatorAddNewItem;
	private: System::Windows::Forms::ToolStripLabel^  bindingNavigatorCountItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorDeleteItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveFirstItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMovePreviousItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator;
	private: System::Windows::Forms::ToolStripTextBox^  bindingNavigatorPositionItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator1;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveNextItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveLastItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator2;
	private: System::Windows::Forms::ToolStripButton^  奖惩记录BindingNavigatorSaveItem;
	private: System::Windows::Forms::ToolStripLabel^  员工姓名ToolStripLabel;
	private: System::Windows::Forms::ToolStripTextBox^  员工姓名ToolStripTextBox;
	private: System::Windows::Forms::ToolStripButton^  查询ToolStripButton;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::TextBox^  自编号TextBox;
	private: System::Windows::Forms::TextBox^  员工编号TextBox;
	private: System::Windows::Forms::TextBox^  员工姓名TextBox;
	private: System::Windows::Forms::DateTimePicker^  奖惩日期DateTimePicker;
	private: System::Windows::Forms::ComboBox^  奖惩类型ComboBox;
	private: System::Windows::Forms::TextBox^  奖惩原因TextBox;
	private: System::Windows::Forms::TextBox^  奖惩批准单位TextBox;
	private: System::Windows::Forms::DateTimePicker^  解除处分日期DateTimePicker;
	private: System::Windows::Forms::TextBox^  说明TextBox;
	private: System::Windows::Forms::DataGridView^  基本档案DataGridView;
	private: System::Windows::Forms::DataGridView^  奖惩记录DataGridView;

	protected: 
	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::Label^  自编号Label;
			System::Windows::Forms::Label^  员工编号Label;
			System::Windows::Forms::Label^  员工姓名Label;
			System::Windows::Forms::Label^  奖惩日期Label;
			System::Windows::Forms::Label^  奖惩类型Label;
			System::Windows::Forms::Label^  奖惩原因Label;
			System::Windows::Forms::Label^  奖惩批准单位Label;
			System::Windows::Forms::Label^  解除处分日期Label;
			System::Windows::Forms::Label^  说明Label;
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(RewardsForm::typeid));
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle2 = (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->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
			this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->员工姓名ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
			this->员工姓名ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->奖惩记录BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->自编号TextBox = (gcnew System::Windows::Forms::TextBox());
			this->员工编号TextBox = (gcnew System::Windows::Forms::TextBox());
			this->员工姓名TextBox = (gcnew System::Windows::Forms::TextBox());
			this->奖惩日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->奖惩类型ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->奖惩原因TextBox = (gcnew System::Windows::Forms::TextBox());
			this->奖惩批准单位TextBox = (gcnew System::Windows::Forms::TextBox());
			this->解除处分日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
			this->基本档案DataGridView = (gcnew System::Windows::Forms::DataGridView());
			this->奖惩记录DataGridView = (gcnew System::Windows::Forms::DataGridView());
			自编号Label = (gcnew System::Windows::Forms::Label());
			员工编号Label = (gcnew System::Windows::Forms::Label());
			员工姓名Label = (gcnew System::Windows::Forms::Label());
			奖惩日期Label = (gcnew System::Windows::Forms::Label());
			奖惩类型Label = (gcnew System::Windows::Forms::Label());
			奖惩原因Label = (gcnew System::Windows::Forms::Label());
			奖惩批准单位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->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();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->奖惩记录DataGridView))->BeginInit();
			this->SuspendLayout();
			// 
			// 自编号Label
			// 
			自编号Label->AutoSize = true;
			自编号Label->Location = System::Drawing::Point(2, 129);
			自编号Label->Name = L"自编号Label";
			自编号Label->Size = System::Drawing::Size(47, 12);
			自编号Label->TabIndex = 44;
			自编号Label->Text = L"自编号:";
			// 
			// 员工编号Label
			// 
			员工编号Label->AutoSize = true;
			员工编号Label->Location = System::Drawing::Point(2, 156);
			员工编号Label->Name = L"员工编号Label";
			员工编号Label->Size = System::Drawing::Size(59, 12);
			员工编号Label->TabIndex = 46;
			员工编号Label->Text = L"员工编号:";
			// 
			// 员工姓名Label
			// 
			员工姓名Label->AutoSize = true;
			员工姓名Label->Location = System::Drawing::Point(2, 183);
			员工姓名Label->Name = L"员工姓名Label";
			员工姓名Label->Size = System::Drawing::Size(59, 12);
			员工姓名Label->TabIndex = 48;
			员工姓名Label->Text = L"员工姓名:";
			// 
			// 奖惩日期Label
			// 
			奖惩日期Label->AutoSize = true;
			奖惩日期Label->Location = System::Drawing::Point(164, 133);
			奖惩日期Label->Name = L"奖惩日期Label";
			奖惩日期Label->Size = System::Drawing::Size(59, 12);
			奖惩日期Label->TabIndex = 50;
			奖惩日期Label->Text = L"奖惩日期:";
			// 
			// 奖惩类型Label
			// 
			奖惩类型Label->AutoSize = true;
			奖惩类型Label->Location = System::Drawing::Point(164, 159);
			奖惩类型Label->Name = L"奖惩类型Label";
			奖惩类型Label->Size = System::Drawing::Size(59, 12);
			奖惩类型Label->TabIndex = 52;
			奖惩类型Label->Text = L"奖惩类型:";
			// 
			// 奖惩原因Label
			// 
			奖惩原因Label->AutoSize = true;
			奖惩原因Label->Location = System::Drawing::Point(164, 185);
			奖惩原因Label->Name = L"奖惩原因Label";
			奖惩原因Label->Size = System::Drawing::Size(59, 12);
			奖惩原因Label->TabIndex = 54;
			奖惩原因Label->Text = L"奖惩原因:";
			// 
			// 奖惩批准单位Label
			// 
			奖惩批准单位Label->AutoSize = true;
			奖惩批准单位Label->Location = System::Drawing::Point(360, 131);
			奖惩批准单位Label->Name = L"奖惩批准单位Label";
			奖惩批准单位Label->Size = System::Drawing::Size(83, 12);
			奖惩批准单位Label->TabIndex = 56;
			奖惩批准单位Label->Text = L"奖惩批准单位:";
			// 
			// 解除处分日期Label
			// 
			解除处分日期Label->AutoSize = true;
			解除处分日期Label->Location = System::Drawing::Point(360, 159);
			解除处分日期Label->Name = L"解除处分日期Label";
			解除处分日期Label->Size = System::Drawing::Size(83, 12);
			解除处分日期Label->TabIndex = 58;
			解除处分日期Label->Text = L"解除处分日期:";
			// 

⌨️ 快捷键说明

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