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

📄 trainingform.h

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~TrainingForm()
		{
			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^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn10;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn11;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	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::DateTimePicker^  结束时间DateTimePicker;
	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::DataGridView^  基本档案DataGridView;
	private: System::Windows::Forms::DataGridView^  培训记录DataGridView;
	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::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(TrainingForm::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->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn8 = (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->结束时间DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			this->培训单位TextBox = (gcnew System::Windows::Forms::TextBox());
			this->培训地点TextBox = (gcnew System::Windows::Forms::TextBox());
			this->培训内容TextBox = (gcnew System::Windows::Forms::TextBox());
			this->培训经费TextBox = (gcnew System::Windows::Forms::TextBox());
			this->证书名称TextBox = (gcnew System::Windows::Forms::TextBox());
			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());
			证书名称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(3, 129);
			自编号Label->Name = L"自编号Label";
			自编号Label->Size = System::Drawing::Size(47, 12);
			自编号Label->TabIndex = 49;
			自编号Label->Text = L"自编号:";
			// 
			// 员工编号Label
			// 
			员工编号Label->AutoSize = true;
			员工编号Label->Location = System::Drawing::Point(3, 156);
			员工编号Label->Name = L"员工编号Label";
			员工编号Label->Size = System::Drawing::Size(59, 12);
			员工编号Label->TabIndex = 51;
			员工编号Label->Text = L"员工编号:";
			// 
			// 员工姓名Label
			// 
			员工姓名Label->AutoSize = true;
			员工姓名Label->Location = System::Drawing::Point(3, 183);
			员工姓名Label->Name = L"员工姓名Label";
			员工姓名Label->Size = System::Drawing::Size(59, 12);
			员工姓名Label->TabIndex = 53;
			员工姓名Label->Text = L"员工姓名:";
			// 
			// 开始时间Label
			// 
			开始时间Label->AutoSize = true;
			开始时间Label->Location = System::Drawing::Point(163, 130);
			开始时间Label->Name = L"开始时间Label";
			开始时间Label->Size = System::Drawing::Size(59, 12);
			开始时间Label->TabIndex = 55;
			开始时间Label->Text = L"开始时间:";
			// 
			// 结束时间Label
			// 
			结束时间Label->AutoSize = true;
			结束时间Label->Location = System::Drawing::Point(163, 157);
			结束时间Label->Name = L"结束时间Label";
			结束时间Label->Size = System::Drawing::Size(59, 12);
			结束时间Label->TabIndex = 57;
			结束时间Label->Text = L"结束时间:";
			// 
			// 培训单位Label
			// 
			培训单位Label->AutoSize = true;
			培训单位Label->Location = System::Drawing::Point(163, 183);
			培训单位Label->Name = L"培训单位Label";
			培训单位Label->Size = System::Drawing::Size(59, 12);
			培训单位Label->TabIndex = 59;
			培训单位Label->Text = L"培训单位:";
			// 
			// 培训地点Label
			// 
			培训地点Label->AutoSize = true;
			培训地点Label->Location = System::Drawing::Point(341, 129);
			培训地点Label->Name = L"培训地点Label";
			培训地点Label->Size = System::Drawing::Size(59, 12);
			培训地点Label->TabIndex = 61;
			培训地点Label->Text = L"培训地点:";
			// 
			// 培训内容Label
			// 
			培训内容Label->AutoSize = true;
			培训内容Label->Location = System::Drawing::Point(341, 156);
			培训内容Label->Name = L"培训内容Label";
			培训内容Label->Size = System::Drawing::Size(59, 12);
			培训内容Label->TabIndex = 63;
			培训内容Label->Text = L"培训内容:";
			// 
			// 培训经费Label
			// 
			培训经费Label->AutoSize = true;
			培训经费Label->Location = System::Drawing::Point(341, 183);
			培训经费Label->Name = L"培训经费Label";
			培训经费Label->Size = System::Drawing::Size(59, 12);
			培训经费Label->TabIndex = 65;
			培训经费Label->Text = L"培训经费:";

⌨️ 快捷键说明

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