?? rewardsform.h
字號:
//文件名:RewardsForm.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>
/// RewardsForm 摘要
///
/// 警告: 如果更改此類的名稱,則需要更改
/// 與此類所依賴的所有 .resx 文件關聯的托管資源編譯器工具的
/// “資源文件名”屬性。否則,
/// 設計器將不能與此窗體的關聯
/// 本地化資源正確交互。
/// </summary>
public ref class RewardsForm : public System::Windows::Forms::Form
{
public:
RewardsForm(void)
{
InitializeComponent();
//
//TODO: 在此處添加構造函數代碼
//
}
protected:
/// <summary>
/// 清理所有正在使用的資源。
/// </summary>
~RewardsForm()
{
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^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::TextBox^ 自編號TextBox;
private: System::Windows::Forms::TextBox^ 員工編號TextBox;
private: System::Windows::Forms::TextBox^ 員工姓名TextBox;
private: System::Windows::Forms::DateTimePicker^ 獎懲日期DateTimePicker;
private: System::Windows::Forms::ComboBox^ 獎懲類型ComboBox;
private: System::Windows::Forms::TextBox^ 獎懲原因TextBox;
private: System::Windows::Forms::TextBox^ 獎懲批準單位TextBox;
private: System::Windows::Forms::DateTimePicker^ 解除處分日期DateTimePicker;
private: System::Windows::Forms::TextBox^ 說明TextBox;
private: System::Windows::Forms::DataGridView^ 基本檔案DataGridView;
private: System::Windows::Forms::DataGridView^ 獎懲記錄DataGridView;
protected:
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::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::Label^ 獎懲批準單位Label;
System::Windows::Forms::Label^ 解除處分日期Label;
System::Windows::Forms::Label^ 說明Label;
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(RewardsForm::typeid));
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->員工姓名ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->員工姓名ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->查詢ToolStripButton = (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->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (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->獎懲日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->獎懲類型ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->獎懲原因TextBox = (gcnew System::Windows::Forms::TextBox());
this->獎懲批準單位TextBox = (gcnew System::Windows::Forms::TextBox());
this->解除處分日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
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());
獎懲批準單位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();
//
// 自編號Label
//
自編號Label->AutoSize = true;
自編號Label->Location = System::Drawing::Point(2, 129);
自編號Label->Name = L"自編號Label";
自編號Label->Size = System::Drawing::Size(47, 12);
自編號Label->TabIndex = 44;
自編號Label->Text = L"自編號:";
//
// 員工編號Label
//
員工編號Label->AutoSize = true;
員工編號Label->Location = System::Drawing::Point(2, 156);
員工編號Label->Name = L"員工編號Label";
員工編號Label->Size = System::Drawing::Size(59, 12);
員工編號Label->TabIndex = 46;
員工編號Label->Text = L"員工編號:";
//
// 員工姓名Label
//
員工姓名Label->AutoSize = true;
員工姓名Label->Location = System::Drawing::Point(2, 183);
員工姓名Label->Name = L"員工姓名Label";
員工姓名Label->Size = System::Drawing::Size(59, 12);
員工姓名Label->TabIndex = 48;
員工姓名Label->Text = L"員工姓名:";
//
// 獎懲日期Label
//
獎懲日期Label->AutoSize = true;
獎懲日期Label->Location = System::Drawing::Point(164, 133);
獎懲日期Label->Name = L"獎懲日期Label";
獎懲日期Label->Size = System::Drawing::Size(59, 12);
獎懲日期Label->TabIndex = 50;
獎懲日期Label->Text = L"獎懲日期:";
//
// 獎懲類型Label
//
獎懲類型Label->AutoSize = true;
獎懲類型Label->Location = System::Drawing::Point(164, 159);
獎懲類型Label->Name = L"獎懲類型Label";
獎懲類型Label->Size = System::Drawing::Size(59, 12);
獎懲類型Label->TabIndex = 52;
獎懲類型Label->Text = L"獎懲類型:";
//
// 獎懲原因Label
//
獎懲原因Label->AutoSize = true;
獎懲原因Label->Location = System::Drawing::Point(164, 185);
獎懲原因Label->Name = L"獎懲原因Label";
獎懲原因Label->Size = System::Drawing::Size(59, 12);
獎懲原因Label->TabIndex = 54;
獎懲原因Label->Text = L"獎懲原因:";
//
// 獎懲批準單位Label
//
獎懲批準單位Label->AutoSize = true;
獎懲批準單位Label->Location = System::Drawing::Point(360, 131);
獎懲批準單位Label->Name = L"獎懲批準單位Label";
獎懲批準單位Label->Size = System::Drawing::Size(83, 12);
獎懲批準單位Label->TabIndex = 56;
獎懲批準單位Label->Text = L"獎懲批準單位:";
//
// 解除處分日期Label
//
解除處分日期Label->AutoSize = true;
解除處分日期Label->Location = System::Drawing::Point(360, 159);
解除處分日期Label->Name = L"解除處分日期Label";
解除處分日期Label->Size = System::Drawing::Size(83, 12);
解除處分日期Label->TabIndex = 58;
解除處分日期Label->Text = L"解除處分日期:";
//
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -