📄 operatorform.h
字号:
// 系统管理之操作权限设置Label
//
系统管理之操作权限设置Label->AutoSize = true;
系统管理之操作权限设置Label->Location = System::Drawing::Point(361, 105);
系统管理之操作权限设置Label->Name = L"系统管理之操作权限设置Label";
系统管理之操作权限设置Label->Size = System::Drawing::Size(143, 12);
系统管理之操作权限设置Label->TabIndex = 81;
系统管理之操作权限设置Label->Text = L"系统管理之操作权限设置:";
//
// 系统管理之操作权限设置CheckBox
//
this->系统管理之操作权限设置CheckBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"CheckState", this->操作用户BindingSource, L"系统管理之操作权限设置",
true)));
this->系统管理之操作权限设置CheckBox->Location = System::Drawing::Point(518, 100);
this->系统管理之操作权限设置CheckBox->Name = L"系统管理之操作权限设置CheckBox";
this->系统管理之操作权限设置CheckBox->Size = System::Drawing::Size(20, 24);
this->系统管理之操作权限设置CheckBox->TabIndex = 82;
//
// 系统管理之修改用户密码Label
//
系统管理之修改用户密码Label->AutoSize = true;
系统管理之修改用户密码Label->Location = System::Drawing::Point(361, 129);
系统管理之修改用户密码Label->Name = L"系统管理之修改用户密码Label";
系统管理之修改用户密码Label->Size = System::Drawing::Size(143, 12);
系统管理之修改用户密码Label->TabIndex = 83;
系统管理之修改用户密码Label->Text = L"系统管理之修改用户密码:";
//
// 系统管理之修改用户密码CheckBox
//
this->系统管理之修改用户密码CheckBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"CheckState", this->操作用户BindingSource, L"系统管理之修改用户密码",
true)));
this->系统管理之修改用户密码CheckBox->Location = System::Drawing::Point(518, 124);
this->系统管理之修改用户密码CheckBox->Name = L"系统管理之修改用户密码CheckBox";
this->系统管理之修改用户密码CheckBox->Size = System::Drawing::Size(20, 24);
this->系统管理之修改用户密码CheckBox->TabIndex = 84;
//
// 系统管理之公司信息设置Label
//
系统管理之公司信息设置Label->AutoSize = true;
系统管理之公司信息设置Label->Location = System::Drawing::Point(361, 153);
系统管理之公司信息设置Label->Name = L"系统管理之公司信息设置Label";
系统管理之公司信息设置Label->Size = System::Drawing::Size(143, 12);
系统管理之公司信息设置Label->TabIndex = 85;
系统管理之公司信息设置Label->Text = L"系统管理之公司信息设置:";
//
// 系统管理之公司信息设置CheckBox
//
this->系统管理之公司信息设置CheckBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"CheckState", this->操作用户BindingSource, L"系统管理之公司信息设置",
true)));
this->系统管理之公司信息设置CheckBox->Location = System::Drawing::Point(518, 148);
this->系统管理之公司信息设置CheckBox->Name = L"系统管理之公司信息设置CheckBox";
this->系统管理之公司信息设置CheckBox->Size = System::Drawing::Size(20, 24);
this->系统管理之公司信息设置CheckBox->TabIndex = 86;
//
// 系统管理之公司部门设置Label
//
系统管理之公司部门设置Label->AutoSize = true;
系统管理之公司部门设置Label->Location = System::Drawing::Point(361, 177);
系统管理之公司部门设置Label->Name = L"系统管理之公司部门设置Label";
系统管理之公司部门设置Label->Size = System::Drawing::Size(143, 12);
系统管理之公司部门设置Label->TabIndex = 87;
系统管理之公司部门设置Label->Text = L"系统管理之公司部门设置:";
//
// 系统管理之公司部门设置CheckBox
//
this->系统管理之公司部门设置CheckBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"CheckState", this->操作用户BindingSource, L"系统管理之公司部门设置",
true)));
this->系统管理之公司部门设置CheckBox->Location = System::Drawing::Point(518, 172);
this->系统管理之公司部门设置CheckBox->Name = L"系统管理之公司部门设置CheckBox";
this->系统管理之公司部门设置CheckBox->Size = System::Drawing::Size(20, 24);
this->系统管理之公司部门设置CheckBox->TabIndex = 88;
//
// 说明Label
//
说明Label->AutoSize = true;
说明Label->Location = System::Drawing::Point(356, 36);
说明Label->Name = L"说明Label";
说明Label->Size = System::Drawing::Size(35, 12);
说明Label->TabIndex = 89;
说明Label->Text = L"说明:";
//
// 说明TextBox
//
this->说明TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->操作用户BindingSource, L"说明", true)));
this->说明TextBox->Location = System::Drawing::Point(393, 30);
this->说明TextBox->Name = L"说明TextBox";
this->说明TextBox->Size = System::Drawing::Size(145, 21);
this->说明TextBox->TabIndex = 90;
//
// 操作用户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->AutoGenerateColumns = false;
this->操作用户DataGridView->BackgroundColor = System::Drawing::SystemColors::ActiveCaption;
this->操作用户DataGridView->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(22) {this->dataGridViewTextBoxColumn1,
this->dataGridViewTextBoxColumn2, this->dataGridViewTextBoxColumn3, this->dataGridViewTextBoxColumn4, this->dataGridViewTextBoxColumn5,
this->dataGridViewTextBoxColumn6, this->dataGridViewTextBoxColumn7, this->dataGridViewTextBoxColumn8, this->dataGridViewTextBoxColumn9,
this->dataGridViewTextBoxColumn10, this->dataGridViewTextBoxColumn11, this->dataGridViewTextBoxColumn12, this->dataGridViewTextBoxColumn13,
this->dataGridViewTextBoxColumn14, this->dataGridViewTextBoxColumn15, this->dataGridViewTextBoxColumn16, this->dataGridViewTextBoxColumn17,
this->dataGridViewTextBoxColumn18, this->dataGridViewTextBoxColumn19, this->dataGridViewTextBoxColumn20, this->dataGridViewTextBoxColumn21,
this->dataGridViewTextBoxColumn22});
this->操作用户DataGridView->DataSource = this->操作用户BindingSource;
dataGridViewCellStyle1->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
dataGridViewCellStyle1->BackColor = System::Drawing::Color::Green;
dataGridViewCellStyle1->Font = (gcnew System::Drawing::Font(L"宋体", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
dataGridViewCellStyle1->ForeColor = System::Drawing::Color::Yellow;
dataGridViewCellStyle1->SelectionBackColor = System::Drawing::SystemColors::Highlight;
dataGridViewCellStyle1->SelectionForeColor = System::Drawing::SystemColors::HighlightText;
dataGridViewCellStyle1->WrapMode = System::Windows::Forms::DataGridViewTriState::False;
this->操作用户DataGridView->DefaultCellStyle = dataGridViewCellStyle1;
this->操作用户DataGridView->Location = System::Drawing::Point(5, 222);
this->操作用户DataGridView->MultiSelect = false;
this->操作用户DataGridView->Name = L"操作用户DataGridView";
this->操作用户DataGridView->RowHeadersVisible = false;
this->操作用户DataGridView->RowTemplate->Height = 23;
this->操作用户DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
this->操作用户DataGridView->Size = System::Drawing::Size(533, 189);
this->操作用户DataGridView->TabIndex = 46;
//
// OperatorForm
//
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->ClientSize = System::Drawing::Size(542, 416);
this->Controls->Add(用户名称Label);
this->Controls->Add(this->用户名称TextBox);
this->Controls->Add(用户密码Label);
this->Controls->Add(this->用户密码TextBox);
this->Controls->Add(人事管理之基本档案Label);
this->Controls->Add(this->人事管理之基本档案CheckBox);
this->Controls->Add(人事管理之家庭成员Label);
this->Controls->Add(this->人事管理之家庭成员CheckBox);
this->Controls->Add(人事管理之工作简历Label);
this->Controls->Add(this->人事管理之工作简历CheckBox);
this->Controls->Add(人事管理之奖惩记录Label);
this->Controls->Add(this->人事管理之奖惩记录CheckBox);
this->Controls->Add(人事管理之培训记录Label);
this->Controls->Add(this->人事管理之培训记录CheckBox);
this->Controls->Add(人事管理之工作业绩Label);
this->Controls->Add(this->人事管理之工作业绩CheckBox);
this->Controls->Add(人事管理之离职管理Label);
this->Controls->Add(this->人事管理之离职管理CheckBox);
this->Controls->Add(考勤管理之月度部门考勤Label);
this->Controls->Add(this->考勤管理之月度部门考勤CheckBox);
this->Controls->Add(考勤管理之年度个人考勤Label);
this->Controls->Add(this->考勤管理之年度个人考勤CheckBox);
this->Controls->Add(工资管理之工资核算Label);
this->Controls->Add(this->工资管理之工资核算CheckBox);
this->Controls->Add(工资管理之工资发放Label);
this->Controls->Add(this->工资管理之工资发放CheckBox);
this->Controls->Add(查询管理之个人员工档案Label);
this->Controls->Add(this->查询管理之个人员工档案CheckBox);
this->Controls->Add(查询管理之部门员工档案Label);
this->Controls->Add(this->查询管理之部门员工档案CheckBox);
this->Controls->Add(查询管理之全部考勤记录Label);
this->Controls->Add(this->查询管理之全部考勤记录CheckBox);
this->Controls->Add(查询管理之全部工资信息Label);
this->Controls->Add(this->查询管理之全部工资信息CheckBox);
this->Controls->Add(系统管理之操作权限设置Label);
this->Controls->Add(this->系统管理之操作权限设置CheckBox);
this->Controls->Add(系统管理之修改用户密码Label);
this->Controls->Add(this->系统管理之修改用户密码CheckBox);
this->Controls->Add(系统管理之公司信息设置Label);
this->Controls->Add(this->系统管理之公司信息设置CheckBox);
this->Controls->Add(系统管理之公司部门设置Label);
this->Controls->Add(this->系统管理之公司部门设置CheckBox);
this->Controls->Add(说明Label);
this->Controls->Add(this->说明TextBox);
this->Controls->Add(this->操作用户DataGridView);
this->Controls->Add(this->操作用户BindingNavigator);
this->Name = L"OperatorForm";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
this->Text = L"设置工作人员操作权限";
this->Load += gcnew System::EventHandler(this, &OperatorForm::OperatorForm_Load);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->MyPersonnelDataSet))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->操作用户BindingSource))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->操作用户BindingNavigator))->EndInit();
this->操作用户BindingNavigator->ResumeLayout(false);
this->操作用户BindingNavigator->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->操作用户DataGridView))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: System::Void 操作用户BindingNavigatorSaveItem_Click(System::Object^ sender, System::EventArgs^ e) {
this->Validate();
this->操作用户BindingSource->EndEdit();
this->操作用户TableAdapter->Update(this->MyPersonnelDataSet->操作用户);
}
private: System::Void OperatorForm_Load(System::Object^ sender, System::EventArgs^ e) {
// TODO: 这行代码将数据加载到表“MyPersonnelDataSet.操作用户”中。您可以根据需要移动或移除它。
this->操作用户TableAdapter->Fill(this->MyPersonnelDataSet->操作用户);
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -