📄 payform.h
字号:
//文件名:PayForm.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;
using namespace Microsoft::Office::Interop::Excel;
using namespace System::Reflection;
namespace 人事工资管理系统 {
/// <summary>
/// PayForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class PayForm : public System::Windows::Forms::Form
{
public:
PayForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~PayForm()
{
if (components)
{
delete components;
}
}
private: My::MyPersonnelDataSet^ MyPersonnelDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 工资发放表BindingSource;
private: My::MyPersonnelDataSetTableAdapters::工资发放表TableAdapter^ 工资发放表TableAdapter;
private: System::Windows::Forms::ToolStrip^ fillByToolStrip;
private: System::Windows::Forms::ToolStripLabel^ 发放年份ToolStripLabel;
private: System::Windows::Forms::ToolStripComboBox^ 年份ToolStripComboBox;
private: System::Windows::Forms::ToolStripLabel^ 发放月份ToolStripLabel;
private: System::Windows::Forms::ToolStripComboBox^ 月份ToolStripComboBox;
private: System::Windows::Forms::ToolStripLabel^ 部门ToolStripLabel;
private: System::Windows::Forms::ToolStripComboBox^ 部门ToolStripComboBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 打印ToolStripButton;
private: System::Windows::Forms::DataGridView^ 工资发放表DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn12;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn13;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn14;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn15;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn16;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn17;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn18;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn19;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn20;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn21;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn22;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn23;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn24;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn25;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
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(PayForm::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->fillByToolStrip = (gcnew System::Windows::Forms::ToolStrip());
this->发放年份ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->年份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->发放月份ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->月份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->部门ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->部门ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->打印ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->工资发放表DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn15 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn16 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn17 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn18 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn19 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn20 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn21 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn24 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn25 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->MyPersonnelDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->工资发放表BindingSource))->BeginInit();
this->fillByToolStrip->SuspendLayout();
(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;
//
// fillByToolStrip
//
this->fillByToolStrip->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(8) {this->发放年份ToolStripLabel,
this->年份ToolStripComboBox, this->发放月份ToolStripLabel, this->月份ToolStripComboBox, this->部门ToolStripLabel, this->部门ToolStripComboBox,
this->查询ToolStripButton, this->打印ToolStripButton});
this->fillByToolStrip->Location = System::Drawing::Point(0, 0);
this->fillByToolStrip->Name = L"fillByToolStrip";
this->fillByToolStrip->Size = System::Drawing::Size(542, 25);
this->fillByToolStrip->TabIndex = 3;
this->fillByToolStrip->Text = L"fillByToolStrip";
//
// 发放年份ToolStripLabel
//
this->发放年份ToolStripLabel->Name = L"发放年份ToolStripLabel";
this->发放年份ToolStripLabel->Size = System::Drawing::Size(59, 22);
this->发放年份ToolStripLabel->Text = L"发放年份:";
//
// 年份ToolStripComboBox
//
this->年份ToolStripComboBox->DropDownHeight = 150;
this->年份ToolStripComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->年份ToolStripComboBox->DropDownWidth = 40;
this->年份ToolStripComboBox->IntegralHeight = false;
this->年份ToolStripComboBox->Name = L"年份ToolStripComboBox";
this->年份ToolStripComboBox->Size = System::Drawing::Size(75, 25);
//
// 发放月份ToolStripLabel
//
this->发放月份ToolStripLabel->Name = L"发放月份ToolStripLabel";
this->发放月份ToolStripLabel->Size = System::Drawing::Size(59, 22);
this->发放月份ToolStripLabel->Text = L"发放月份:";
//
// 月份ToolStripComboBox
//
this->月份ToolStripComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
this->月份ToolStripComboBox->Name = L"月份ToolStripComboBox";
this->月份ToolStripComboBox->Size = System::Drawing::Size(75, 25);
//
// 部门ToolStripLabel
//
this->部门ToolStripLabel->Name = L"部门ToolStripLabel";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -