📄 mainform.h
字号:
//
this->离职管理ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"离职管理ToolStripMenuItem.Image")));
this->离职管理ToolStripMenuItem->Name = L"离职管理ToolStripMenuItem";
this->离职管理ToolStripMenuItem->Size = System::Drawing::Size(136, 22);
this->离职管理ToolStripMenuItem->Text = L"离职管理(&L)";
this->离职管理ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::离职管理ToolStripMenuItem_Click);
//
// menuStrip1
//
this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {this->人事管理PToolStripMenuItem,
this->考勤管理AToolStripMenuItem, this->工资管理MToolStripMenuItem, this->查询管理QToolStripMenuItem, this->系统管理SToolStripMenuItem, this->退出A系统EToolStripMenuItem});
this->menuStrip1->Location = System::Drawing::Point(0, 0);
this->menuStrip1->Name = L"menuStrip1";
this->menuStrip1->Size = System::Drawing::Size(542, 24);
this->menuStrip1->TabIndex = 2;
this->menuStrip1->Text = L"menuStrip1";
//
// 考勤管理AToolStripMenuItem
//
this->考勤管理AToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->月度部门考勤ToolStripMenuItem,
this->月度部门考勤ToolStripSeparator, this->年度个人考勤ToolStripMenuItem});
this->考勤管理AToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"考勤管理AToolStripMenuItem.Image")));
this->考勤管理AToolStripMenuItem->Name = L"考勤管理AToolStripMenuItem";
this->考勤管理AToolStripMenuItem->Size = System::Drawing::Size(99, 20);
this->考勤管理AToolStripMenuItem->Text = L"考勤管理(&A)";
//
// 月度部门考勤ToolStripMenuItem
//
this->月度部门考勤ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"月度部门考勤ToolStripMenuItem.Image")));
this->月度部门考勤ToolStripMenuItem->Name = L"月度部门考勤ToolStripMenuItem";
this->月度部门考勤ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->月度部门考勤ToolStripMenuItem->Text = L"月度部门考勤(&M)";
this->月度部门考勤ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::月度部门考勤ToolStripMenuItem_Click);
//
// 月度部门考勤ToolStripSeparator
//
this->月度部门考勤ToolStripSeparator->Name = L"月度部门考勤ToolStripSeparator";
this->月度部门考勤ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 年度个人考勤ToolStripMenuItem
//
this->年度个人考勤ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"年度个人考勤ToolStripMenuItem.Image")));
this->年度个人考勤ToolStripMenuItem->Name = L"年度个人考勤ToolStripMenuItem";
this->年度个人考勤ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->年度个人考勤ToolStripMenuItem->Text = L"年度个人考勤(&Y)";
this->年度个人考勤ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::年度个人考勤ToolStripMenuItem_Click);
//
// 工资管理MToolStripMenuItem
//
this->工资管理MToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {this->工资核算ToolStripMenuItem,
this->工资核算ToolStripSeparator, this->工资发放ToolStripMenuItem});
this->工资管理MToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"工资管理MToolStripMenuItem.Image")));
this->工资管理MToolStripMenuItem->Name = L"工资管理MToolStripMenuItem";
this->工资管理MToolStripMenuItem->Size = System::Drawing::Size(99, 20);
this->工资管理MToolStripMenuItem->Text = L"工资管理(&M)";
//
// 工资核算ToolStripMenuItem
//
this->工资核算ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"工资核算ToolStripMenuItem.Image")));
this->工资核算ToolStripMenuItem->Name = L"工资核算ToolStripMenuItem";
this->工资核算ToolStripMenuItem->Size = System::Drawing::Size(136, 22);
this->工资核算ToolStripMenuItem->Text = L"工资核算(&C)";
this->工资核算ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::工资核算ToolStripMenuItem_Click);
//
// 工资核算ToolStripSeparator
//
this->工资核算ToolStripSeparator->Name = L"工资核算ToolStripSeparator";
this->工资核算ToolStripSeparator->Size = System::Drawing::Size(133, 6);
//
// 工资发放ToolStripMenuItem
//
this->工资发放ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"工资发放ToolStripMenuItem.Image")));
this->工资发放ToolStripMenuItem->Name = L"工资发放ToolStripMenuItem";
this->工资发放ToolStripMenuItem->Size = System::Drawing::Size(136, 22);
this->工资发放ToolStripMenuItem->Text = L"工资发放(&P)";
this->工资发放ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::工资发放ToolStripMenuItem_Click);
//
// 查询管理QToolStripMenuItem
//
this->查询管理QToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(7) {this->个人员工档案ToolStripMenuItem,
this->个人员工档案ToolStripSeparator, this->部门员工档案ToolStripMenuItem, this->部门员工档案ToolStripSeparator, this->全部考勤记录ToolStripMenuItem,
this->全部考勤记录ToolStripSeparator, this->全部工资信息ToolStripMenuItem});
this->查询管理QToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"查询管理QToolStripMenuItem.Image")));
this->查询管理QToolStripMenuItem->Name = L"查询管理QToolStripMenuItem";
this->查询管理QToolStripMenuItem->Size = System::Drawing::Size(99, 20);
this->查询管理QToolStripMenuItem->Text = L"查询管理(&Q)";
//
// 个人员工档案ToolStripMenuItem
//
this->个人员工档案ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"个人员工档案ToolStripMenuItem.Image")));
this->个人员工档案ToolStripMenuItem->Name = L"个人员工档案ToolStripMenuItem";
this->个人员工档案ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->个人员工档案ToolStripMenuItem->Text = L"个人员工档案(&P)";
this->个人员工档案ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::个人员工档案ToolStripMenuItem_Click);
//
// 个人员工档案ToolStripSeparator
//
this->个人员工档案ToolStripSeparator->Name = L"个人员工档案ToolStripSeparator";
this->个人员工档案ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 部门员工档案ToolStripMenuItem
//
this->部门员工档案ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"部门员工档案ToolStripMenuItem.Image")));
this->部门员工档案ToolStripMenuItem->Name = L"部门员工档案ToolStripMenuItem";
this->部门员工档案ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->部门员工档案ToolStripMenuItem->Text = L"部门员工档案(&D)";
this->部门员工档案ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::部门员工档案ToolStripMenuItem_Click);
//
// 部门员工档案ToolStripSeparator
//
this->部门员工档案ToolStripSeparator->Name = L"部门员工档案ToolStripSeparator";
this->部门员工档案ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 全部考勤记录ToolStripMenuItem
//
this->全部考勤记录ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"全部考勤记录ToolStripMenuItem.Image")));
this->全部考勤记录ToolStripMenuItem->Name = L"全部考勤记录ToolStripMenuItem";
this->全部考勤记录ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->全部考勤记录ToolStripMenuItem->Text = L"全部考勤记录(&A)";
this->全部考勤记录ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::全部考勤记录ToolStripMenuItem_Click);
//
// MainForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(0)), static_cast<System::Int32>(static_cast<System::Byte>(192)),
static_cast<System::Int32>(static_cast<System::Byte>(192)));
this->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->ClientSize = System::Drawing::Size(542, 416);
this->Controls->Add(this->toolStrip1);
this->Controls->Add(this->menuStrip1);
this->Name = L"MainForm";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"人事工资管理系统";
this->Load += gcnew System::EventHandler(this, &MainForm::MainForm_Load);
this->toolStrip1->ResumeLayout(false);
this->toolStrip1->PerformLayout();
this->menuStrip1->ResumeLayout(false);
this->menuStrip1->PerformLayout();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: String^ MyBgPhoto ;
private: String^ MyAddress ;
private: String^ MyTel ;
private: String^ MyCode;
private: String^ MyWeb ;
private: String^ MySlogan;
private: String^ MyBgPhotoShow;
private: String^ MyOperator;
private: String^ MyCompany;
private: static String^ MyPersonnelConnectionString= L"Data Source=.;Initial Catalog=MyPersonnel;Integrated Security=True;Pooling=False";
private: System::Void 基本档案ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
PersonnelForm^ MyDlg = gcnew PersonnelForm();
MyDlg->ShowDialog();
}
private: System::Void 家庭成员ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
FamilyForm^ MyDlg = gcnew FamilyForm();
MyDlg->ShowDialog();
}
private: System::Void 工作简历ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
ResumeForm^ MyDlg = gcnew ResumeForm();
MyDlg->ShowDialog();
}
private: System::Void 奖惩记录ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
RewardsForm^ MyDlg = gcnew RewardsForm();
MyDlg->ShowDialog();
}
private: System::Void 培训记录ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
TrainingForm^ MyDlg = gcnew TrainingForm();
MyDlg->ShowDialog();
}
private: System::Void 工作业绩ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
ArchievementForm^ MyDlg = gcnew ArchievementForm();
MyDlg->ShowDialog();
}
private: System::Void 离职管理ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
LeaveForm^ MyDlg = gcnew LeaveForm();
MyDlg->ShowDialog();
}
private: System::Void 月度部门考勤ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
CheckForm^ MyDlg = gcnew CheckForm();
MyDlg->MyCompany = this->MyCompany;
MyDlg->ShowDialog();
}
private: System::Void 年度个人考勤ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
QueryCheckForm^ MyDlg = gcnew QueryCheckForm();
MyDlg->MyCompany = this->MyCompany;
MyDlg->ShowDialog();
}
private: System::Void 工资核算ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
ComputeForm^ MyDlg = gcnew ComputeForm();
MyDlg->MyCompany = this->MyCompany;
MyDlg->ShowDialog();
}
private: System::Void 工资发放ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
PayForm^ MyDlg = gcnew PayForm();
MyDlg->MyCompany = this->MyCompany;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -