📄 checkform.h
字号:
//文件名:CheckForm.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>
/// CheckForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class CheckForm : public System::Windows::Forms::Form
{
public:
CheckForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~CheckForm()
{
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^ 考勤记录BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripLabel^ 考勤日期ToolStripLabel;
private: System::Windows::Forms::ToolStripComboBox^ 考勤年份ToolStripComboBox;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
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::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn29;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn28;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn30;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn32;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn31;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn27;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn23;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn22;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn24;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn26;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn25;
private: System::Windows::Forms::ToolStripButton^ 事假ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 产假ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 病假ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 旷工ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 婚假ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 早退ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn34;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn33;
private: System::Windows::Forms::ToolStrip^ toolStrip1;
private: System::Windows::Forms::ToolStripButton^ 出勤ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 迟到ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridView^ 考勤记录DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
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::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(CheckForm::typeid));
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());
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->考勤日期ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->考勤年份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->toolStripLabel1 = (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->考勤记录BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->打印ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn29 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn28 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn30 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn32 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn31 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn27 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn24 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn26 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn25 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->事假ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->产假ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->病假ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->旷工ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->婚假ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->早退ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn34 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn33 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->toolStrip1 = (gcnew System::Windows::Forms::ToolStrip());
this->出勤ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->迟到ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->考勤记录DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (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());
(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();
this->toolStrip1->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;
//
// 考勤记录BindingNavigator
//
this->考勤记录BindingNavigator->AddNewItem = nullptr;
this->考勤记录BindingNavigator->BindingSource = this->考勤记录BindingSource;
this->考勤记录BindingNavigator->CountItem = nullptr;
this->考勤记录BindingNavigator->DeleteItem = nullptr;
this->考勤记录BindingNavigator->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(9) {this->考勤日期ToolStripLabel,
this->考勤年份ToolStripComboBox, this->toolStripLabel1, this->月份ToolStripComboBox, this->部门ToolStripLabel, this->部门ToolStripComboBox,
this->查询ToolStripButton, this->考勤记录BindingNavigatorSaveItem, this->打印ToolStripButton});
this->考勤记录BindingNavigator->Location = System::Drawing::Point(0, 0);
this->考勤记录BindingNavigator->MoveFirstItem = nullptr;
this->考勤记录BindingNavigator->MoveLastItem = nullptr;
this->考勤记录BindingNavigator->MoveNextItem = nullptr;
this->考勤记录BindingNavigator->MovePreviousItem = nullptr;
this->考勤记录BindingNavigator->Name = L"考勤记录BindingNavigator";
this->考勤记录BindingNavigator->PositionItem = nullptr;
this->考勤记录BindingNavigator->Size = System::Drawing::Size(542, 25);
this->考勤记录BindingNavigator->TabIndex = 0;
this->考勤记录BindingNavigator->Text = L"bindingNavigator1";
//
// 考勤日期ToolStripLabel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -