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

📄 archievementform.h

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

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~ArchievementForm()
		{
			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^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::TextBox^  自编号TextBox;
	private: System::Windows::Forms::TextBox^  员工编号TextBox;
	private: System::Windows::Forms::TextBox^  员工姓名TextBox;
	private: System::Windows::Forms::RichTextBox^  工作业绩RichTextBox;
	private: System::Windows::Forms::RichTextBox^  专长描述RichTextBox;
	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::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(ArchievementForm::typeid));
			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::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->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->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			this->员工姓名ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->员工姓名ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
			this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn4 = (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->工作业绩RichTextBox = (gcnew System::Windows::Forms::RichTextBox());
			this->专长描述RichTextBox = (gcnew System::Windows::Forms::RichTextBox());
			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());
			(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();
			// 
			// 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 = this->bindingNavigatorAddNewItem;
			this->工作业绩BindingNavigator->BindingSource = this->工作业绩BindingSource;
			this->工作业绩BindingNavigator->CountItem = this->bindingNavigatorCountItem;
			this->工作业绩BindingNavigator->DeleteItem = this->bindingNavigatorDeleteItem;
			this->工作业绩BindingNavigator->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(15) {this->员工姓名ToolStripLabel, 
				this->员工姓名ToolStripTextBox, this->查询ToolStripButton, this->bindingNavigatorMoveFirstItem, this->bindingNavigatorMovePreviousItem, 
				this->bindingNavigatorSeparator, this->bindingNavigatorPositionItem, this->bindingNavigatorCountItem, this->bindingNavigatorSeparator1, 
				this->bindingNavigatorMoveNextItem, this->bindingNavigatorMoveLastItem, this->bindingNavigatorSeparator2, this->bindingNavigatorAddNewItem, 
				this->bindingNavigatorDeleteItem, this->工作业绩BindingNavigatorSaveItem});
			this->工作业绩BindingNavigator->Location = System::Drawing::Point(0, 0);
			this->工作业绩BindingNavigator->MoveFirstItem = this->bindingNavigatorMoveFirstItem;
			this->工作业绩BindingNavigator->MoveLastItem = this->bindingNavigatorMoveLastItem;
			this->工作业绩BindingNavigator->MoveNextItem = this->bindingNavigatorMoveNextItem;
			this->工作业绩BindingNavigator->MovePreviousItem = this->bindingNavigatorMovePreviousItem;
			this->工作业绩BindingNavigator->Name = L"工作业绩BindingNavigator";
			this->工作业绩BindingNavigator->PositionItem = this->bindingNavigatorPositionItem;
			this->工作业绩BindingNavigator->Size = System::Drawing::Size(542, 25);
			this->工作业绩BindingNavigator->TabIndex = 0;
			this->工作业绩BindingNavigator->Text = L"bindingNavigator1";
			// 
			// bindingNavigatorAddNewItem
			// 
			this->bindingNavigatorAddNewItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorAddNewItem.Image")));
			this->bindingNavigatorAddNewItem->Name = L"bindingNavigatorAddNewItem";
			this->bindingNavigatorAddNewItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorAddNewItem->Size = System::Drawing::Size(49, 22);
			this->bindingNavigatorAddNewItem->Text = L"新增";
			this->bindingNavigatorAddNewItem->Click += gcnew System::EventHandler(this, &ArchievementForm::bindingNavigatorAddNewItem_Click);
			// 
			// bindingNavigatorCountItem
			// 
			this->bindingNavigatorCountItem->Name = L"bindingNavigatorCountItem";
			this->bindingNavigatorCountItem->Size = System::Drawing::Size(35, 22);
			this->bindingNavigatorCountItem->Text = L"/ {0}";
			this->bindingNavigatorCountItem->ToolTipText = L"总项数";
			// 
			// bindingNavigatorDeleteItem
			// 
			this->bindingNavigatorDeleteItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorDeleteItem.Image")));
			this->bindingNavigatorDeleteItem->Name = L"bindingNavigatorDeleteItem";
			this->bindingNavigatorDeleteItem->RightToLeftAutoMirrorImage = true;

⌨️ 快捷键说明

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