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

📄 personnelform.h

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~PersonnelForm()
		{
			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::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn10;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn11;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn14;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn13;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn12;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn15;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn25;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn24;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn23;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn26;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn29;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn28;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn27;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn18;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn17;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn16;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn19;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn22;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn21;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn20;
	private: System::Windows::Forms::TextBox^  自编号TextBox;
	private: System::Windows::Forms::TextBox^  员工编号TextBox;
	private: System::Windows::Forms::ComboBox^  部门ComboBox;
	private: System::Windows::Forms::TextBox^  姓名TextBox;
	private: System::Windows::Forms::ComboBox^  性别ComboBox;
	private: System::Windows::Forms::DateTimePicker^  出生年月DateTimePicker;
	private: System::Windows::Forms::MaskedTextBox^  身份证号码MaskedTextBox;
	private: System::Windows::Forms::ComboBox^  民族ComboBox;
	private: System::Windows::Forms::ComboBox^  政治面貌ComboBox;
	private: System::Windows::Forms::ComboBox^  婚姻状况ComboBox;
	private: System::Windows::Forms::ComboBox^  文化程度ComboBox;
	private: System::Windows::Forms::TextBox^  专业TextBox;
	private: System::Windows::Forms::TextBox^  毕业院校TextBox;
	private: System::Windows::Forms::ComboBox^  职称ComboBox;
	private: System::Windows::Forms::ComboBox^  职务ComboBox;
	private: System::Windows::Forms::DateTimePicker^  进入本单位时间DateTimePicker;
	private: System::Windows::Forms::ComboBox^  合同服务年限ComboBox;
	private: System::Windows::Forms::MaskedTextBox^  基本工资MaskedTextBox;
	private: System::Windows::Forms::TextBox^  银行帐号TextBox;
	private: System::Windows::Forms::TextBox^  养老保险帐号TextBox;
	private: System::Windows::Forms::TextBox^  医疗保险帐号TextBox;
	private: System::Windows::Forms::TextBox^  住房基金帐号TextBox;
	private: System::Windows::Forms::TextBox^  联系电话TextBox;
	private: System::Windows::Forms::TextBox^  移动电话号码TextBox;
	private: System::Windows::Forms::MaskedTextBox^  电子信箱MaskedTextBox;
	private: System::Windows::Forms::TextBox^  家庭住址TextBox;
	private: System::Windows::Forms::MaskedTextBox^  邮政编码MaskedTextBox;
	private: System::Windows::Forms::TextBox^  籍贯TextBox;
	private: System::Windows::Forms::TextBox^  说明TextBox;
	private: System::Windows::Forms::DataGridView^  基本档案DataGridView;
	private: System::Windows::Forms::ToolStripLabel^  姓名ToolStripLabel;
	private: System::Windows::Forms::ToolStripTextBox^  姓名ToolStripTextBox;
	private: System::Windows::Forms::ToolStripButton^  查询FillByToolStripButton;




	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::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::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::Windows::Forms::Label^  籍贯Label;
			System::Windows::Forms::Label^  说明Label;
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(PersonnelForm::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->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->查询FillByToolStripButton = (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->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn15 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn25 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn24 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn26 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn29 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn28 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn27 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn18 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn17 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn16 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn19 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn21 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn20 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->自编号TextBox = (gcnew System::Windows::Forms::TextBox());
			this->员工编号TextBox = (gcnew System::Windows::Forms::TextBox());
			this->部门ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->姓名TextBox = (gcnew System::Windows::Forms::TextBox());
			this->性别ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->出生年月DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->身份证号码MaskedTextBox = (gcnew System::Windows::Forms::MaskedTextBox());
			this->民族ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->政治面貌ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->婚姻状况ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->文化程度ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->专业TextBox = (gcnew System::Windows::Forms::TextBox());
			this->毕业院校TextBox = (gcnew System::Windows::Forms::TextBox());
			this->职称ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->职务ComboBox = (gcnew System::Windows::Forms::ComboBox());
			this->进入本单位时间DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());

⌨️ 快捷键说明

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