📄 querypersonnelform.h
字号:
//文件名:QueryPersonnelForm.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>
/// QueryPersonnelForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class QueryPersonnelForm : public System::Windows::Forms::Form
{
public:
QueryPersonnelForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~QueryPersonnelForm()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::DataGridView^ 工作简历DataGridView;
protected:
private: System::Windows::Forms::DataGridView^ 离职原因DataGridView;
private: System::Drawing::Printing::PrintDocument^ printDocument1;
private: System::Windows::Forms::DataGridView^ 工作业绩DataGridView;
private: System::Windows::Forms::DataGridView^ 培训记录DataGridView;
private: System::Windows::Forms::PrintPreviewDialog^ printPreviewDialog1;
private: System::Windows::Forms::DataGridView^ 奖惩记录DataGridView;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripTextBox^ 姓名ToolStripTextBox;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
private: System::Windows::Forms::DataGridView^ 家庭成员DataGridView;
private: System::Windows::Forms::ToolStrip^ toolStrip1;
private: System::Windows::Forms::ToolStripButton^ 打印基本档案ToolStripButton;
private: System::Windows::Forms::DataGridView^ 基本档案DataGridView;
private:
/// <summary>
/// 必需的设计器变量。
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
void InitializeComponent(void)
{
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle2 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle3 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle4 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(QueryPersonnelForm::typeid));
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle5 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle6 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle7 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
this->工作简历DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->离职原因DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
this->工作业绩DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->培训记录DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->printPreviewDialog1 = (gcnew System::Windows::Forms::PrintPreviewDialog());
this->奖惩记录DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->姓名ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
this->家庭成员DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->toolStrip1 = (gcnew System::Windows::Forms::ToolStrip());
this->打印基本档案ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->基本档案DataGridView = (gcnew System::Windows::Forms::DataGridView());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->工作简历DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->离职原因DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->工作业绩DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->培训记录DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->奖惩记录DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->家庭成员DataGridView))->BeginInit();
this->toolStrip1->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->基本档案DataGridView))->BeginInit();
this->SuspendLayout();
//
// 工作简历DataGridView
//
this->工作简历DataGridView->AllowUserToAddRows = false;
this->工作简历DataGridView->AllowUserToDeleteRows = false;
this->工作简历DataGridView->AllowUserToResizeRows = false;
this->工作简历DataGridView->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom)
| System::Windows::Forms::AnchorStyles::Left));
this->工作简历DataGridView->BackgroundColor = System::Drawing::SystemColors::ActiveCaption;
this->工作简历DataGridView->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->工作简历DataGridView->Location = System::Drawing::Point(0, 335);
this->工作简历DataGridView->MultiSelect = false;
this->工作简历DataGridView->Name = L"工作简历DataGridView";
this->工作简历DataGridView->ReadOnly = true;
this->工作简历DataGridView->RowHeadersVisible = false;
dataGridViewCellStyle1->BackColor = System::Drawing::Color::Green;
dataGridViewCellStyle1->ForeColor = System::Drawing::Color::Yellow;
this->工作简历DataGridView->RowsDefaultCellStyle = dataGridViewCellStyle1;
this->工作简历DataGridView->RowTemplate->Height = 23;
this->工作简历DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
this->工作简历DataGridView->Size = System::Drawing::Size(275, 81);
this->工作简历DataGridView->TabIndex = 42;
//
// 离职原因DataGridView
//
this->离职原因DataGridView->AllowUserToAddRows = false;
this->离职原因DataGridView->AllowUserToDeleteRows = false;
this->离职原因DataGridView->AllowUserToResizeRows = false;
this->离职原因DataGridView->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom)
| System::Windows::Forms::AnchorStyles::Left)
| System::Windows::Forms::AnchorStyles::Right));
this->离职原因DataGridView->BackgroundColor = System::Drawing::SystemColors::ActiveCaption;
this->离职原因DataGridView->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->离职原因DataGridView->Location = System::Drawing::Point(271, 335);
this->离职原因DataGridView->MultiSelect = false;
this->离职原因DataGridView->Name = L"离职原因DataGridView";
this->离职原因DataGridView->ReadOnly = true;
this->离职原因DataGridView->RowHeadersVisible = false;
dataGridViewCellStyle2->BackColor = System::Drawing::Color::Green;
dataGridViewCellStyle2->ForeColor = System::Drawing::Color::Yellow;
this->离职原因DataGridView->RowsDefaultCellStyle = dataGridViewCellStyle2;
this->离职原因DataGridView->RowTemplate->Height = 23;
this->离职原因DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
this->离职原因DataGridView->Size = System::Drawing::Size(271, 81);
this->离职原因DataGridView->TabIndex = 41;
//
// printDocument1
//
this->printDocument1->PrintPage += gcnew System::Drawing::Printing::PrintPageEventHandler(this, &QueryPersonnelForm::printDocument1_PrintPage);
//
// 工作业绩DataGridView
//
this->工作业绩DataGridView->AllowUserToAddRows = false;
this->工作业绩DataGridView->AllowUserToDeleteRows = false;
this->工作业绩DataGridView->AllowUserToResizeRows = false;
this->工作业绩DataGridView->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left)
| System::Windows::Forms::AnchorStyles::Right));
this->工作业绩DataGridView->BackgroundColor = System::Drawing::SystemColors::ActiveCaption;
this->工作业绩DataGridView->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->工作业绩DataGridView->Location = System::Drawing::Point(0, 224);
this->工作业绩DataGridView->MultiSelect = false;
this->工作业绩DataGridView->Name = L"工作业绩DataGridView";
this->工作业绩DataGridView->ReadOnly = true;
this->工作业绩DataGridView->RowHeadersVisible = false;
dataGridViewCellStyle3->BackColor = System::Drawing::Color::Green;
dataGridViewCellStyle3->ForeColor = System::Drawing::Color::Yellow;
this->工作业绩DataGridView->RowsDefaultCellStyle = dataGridViewCellStyle3;
this->工作业绩DataGridView->RowTemplate->Height = 23;
this->工作业绩DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
this->工作业绩DataGridView->Size = System::Drawing::Size(542, 56);
this->工作业绩DataGridView->TabIndex = 39;
//
// 培训记录DataGridView
//
this->培训记录DataGridView->AllowUserToAddRows = false;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -