📄 personnelform.h
字号:
//
this->身份证号码MaskedTextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"身份证号码",
true)));
this->身份证号码MaskedTextBox->Location = System::Drawing::Point(81, 80);
this->身份证号码MaskedTextBox->Mask = L"000000000000000000";
this->身份证号码MaskedTextBox->Name = L"身份证号码MaskedTextBox";
this->身份证号码MaskedTextBox->Size = System::Drawing::Size(143, 21);
this->身份证号码MaskedTextBox->TabIndex = 74;
//
// 民族ComboBox
//
this->民族ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"民族", true)));
this->民族ComboBox->FormattingEnabled = true;
this->民族ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"汉族", L"回族", L"苗族"});
this->民族ComboBox->Location = System::Drawing::Point(271, 81);
this->民族ComboBox->Name = L"民族ComboBox";
this->民族ComboBox->Size = System::Drawing::Size(81, 20);
this->民族ComboBox->TabIndex = 76;
this->民族ComboBox->Text = L"汉族";
//
// 政治面貌ComboBox
//
this->政治面貌ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"政治面貌", true)));
this->政治面貌ComboBox->FormattingEnabled = true;
this->政治面貌ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"共产党员", L"共青团员", L"无"});
this->政治面貌ComboBox->Location = System::Drawing::Point(426, 81);
this->政治面貌ComboBox->Name = L"政治面貌ComboBox";
this->政治面貌ComboBox->Size = System::Drawing::Size(108, 20);
this->政治面貌ComboBox->TabIndex = 78;
this->政治面貌ComboBox->Text = L"无";
//
// 婚姻状况ComboBox
//
this->婚姻状况ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"婚姻状况", true)));
this->婚姻状况ComboBox->FormattingEnabled = true;
this->婚姻状况ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"未婚", L"已婚", L"离婚"});
this->婚姻状况ComboBox->Location = System::Drawing::Point(69, 105);
this->婚姻状况ComboBox->Name = L"婚姻状况ComboBox";
this->婚姻状况ComboBox->Size = System::Drawing::Size(91, 20);
this->婚姻状况ComboBox->TabIndex = 80;
this->婚姻状况ComboBox->Text = L"未婚";
//
// 文化程度ComboBox
//
this->文化程度ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"文化程度", true)));
this->文化程度ComboBox->FormattingEnabled = true;
this->文化程度ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"本科", L"硕士", L"博士", L"专科", L"高中", L"其他"});
this->文化程度ComboBox->Location = System::Drawing::Point(238, 105);
this->文化程度ComboBox->Name = L"文化程度ComboBox";
this->文化程度ComboBox->Size = System::Drawing::Size(69, 20);
this->文化程度ComboBox->TabIndex = 82;
this->文化程度ComboBox->Text = L"本科";
//
// 专业TextBox
//
this->专业TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"专业", true)));
this->专业TextBox->Location = System::Drawing::Point(363, 104);
this->专业TextBox->Name = L"专业TextBox";
this->专业TextBox->Size = System::Drawing::Size(171, 21);
this->专业TextBox->TabIndex = 84;
//
// 毕业院校TextBox
//
this->毕业院校TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"毕业院校", true)));
this->毕业院校TextBox->Location = System::Drawing::Point(69, 129);
this->毕业院校TextBox->Name = L"毕业院校TextBox";
this->毕业院校TextBox->Size = System::Drawing::Size(200, 21);
this->毕业院校TextBox->TabIndex = 86;
//
// 职称ComboBox
//
this->职称ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"职称", true)));
this->职称ComboBox->FormattingEnabled = true;
this->职称ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"高级", L"中级", L"初级"});
this->职称ComboBox->Location = System::Drawing::Point(315, 130);
this->职称ComboBox->Name = L"职称ComboBox";
this->职称ComboBox->Size = System::Drawing::Size(78, 20);
this->职称ComboBox->TabIndex = 88;
this->职称ComboBox->Text = L"无";
//
// 职务ComboBox
//
this->职务ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"职务", true)));
this->职务ComboBox->FormattingEnabled = true;
this->职务ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(8) {L"总经理", L"副总经理", L"董事长", L"部长", L"副部长", L"主任",
L"副主任", L"普通员工"});
this->职务ComboBox->Location = System::Drawing::Point(442, 130);
this->职务ComboBox->Name = L"职务ComboBox";
this->职务ComboBox->Size = System::Drawing::Size(92, 20);
this->职务ComboBox->TabIndex = 90;
this->职务ComboBox->Text = L"普通员工";
//
// 进入本单位时间DateTimePicker
//
this->进入本单位时间DateTimePicker->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Value", this->基本档案BindingSource, L"进入本单位时间",
true)));
this->进入本单位时间DateTimePicker->Location = System::Drawing::Point(109, 154);
this->进入本单位时间DateTimePicker->Name = L"进入本单位时间DateTimePicker";
this->进入本单位时间DateTimePicker->Size = System::Drawing::Size(117, 21);
this->进入本单位时间DateTimePicker->TabIndex = 92;
//
// 合同服务年限ComboBox
//
this->合同服务年限ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"合同服务年限", true)));
this->合同服务年限ComboBox->FormattingEnabled = true;
this->合同服务年限ComboBox->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"一年", L"三年", L"五年", L"长期", L"半年"});
this->合同服务年限ComboBox->Location = System::Drawing::Point(315, 155);
this->合同服务年限ComboBox->Name = L"合同服务年限ComboBox";
this->合同服务年限ComboBox->Size = System::Drawing::Size(78, 20);
this->合同服务年限ComboBox->TabIndex = 94;
this->合同服务年限ComboBox->Text = L"一年";
//
// 基本工资MaskedTextBox
//
this->基本工资MaskedTextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"基本工资",
true)));
this->基本工资MaskedTextBox->Location = System::Drawing::Point(459, 154);
this->基本工资MaskedTextBox->Name = L"基本工资MaskedTextBox";
this->基本工资MaskedTextBox->Size = System::Drawing::Size(75, 21);
this->基本工资MaskedTextBox->TabIndex = 96;
//
// 银行帐号TextBox
//
this->银行帐号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"银行帐号", true)));
this->银行帐号TextBox->Location = System::Drawing::Point(71, 179);
this->银行帐号TextBox->Name = L"银行帐号TextBox";
this->银行帐号TextBox->Size = System::Drawing::Size(173, 21);
this->银行帐号TextBox->TabIndex = 98;
//
// 养老保险帐号TextBox
//
this->养老保险帐号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"养老保险帐号", true)));
this->养老保险帐号TextBox->Location = System::Drawing::Point(339, 179);
this->养老保险帐号TextBox->Name = L"养老保险帐号TextBox";
this->养老保险帐号TextBox->Size = System::Drawing::Size(195, 21);
this->养老保险帐号TextBox->TabIndex = 100;
//
// 医疗保险帐号TextBox
//
this->医疗保险帐号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"医疗保险帐号", true)));
this->医疗保险帐号TextBox->Location = System::Drawing::Point(95, 204);
this->医疗保险帐号TextBox->Name = L"医疗保险帐号TextBox";
this->医疗保险帐号TextBox->Size = System::Drawing::Size(149, 21);
this->医疗保险帐号TextBox->TabIndex = 102;
//
// 住房基金帐号TextBox
//
this->住房基金帐号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"住房基金帐号", true)));
this->住房基金帐号TextBox->Location = System::Drawing::Point(339, 204);
this->住房基金帐号TextBox->Name = L"住房基金帐号TextBox";
this->住房基金帐号TextBox->Size = System::Drawing::Size(194, 21);
this->住房基金帐号TextBox->TabIndex = 104;
//
// 联系电话TextBox
//
this->联系电话TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"联系电话", true)));
this->联系电话TextBox->Location = System::Drawing::Point(71, 229);
this->联系电话TextBox->Name = L"联系电话TextBox";
this->联系电话TextBox->Size = System::Drawing::Size(95, 21);
this->联系电话TextBox->TabIndex = 106;
//
// 移动电话号码TextBox
//
this->移动电话号码TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"手机号码", true)));
this->移动电话号码TextBox->Location = System::Drawing::Point(231, 229);
this->移动电话号码TextBox->Name = L"移动电话号码TextBox";
this->移动电话号码TextBox->Size = System::Drawing::Size(84, 21);
this->移动电话号码TextBox->TabIndex = 108;
//
// 电子信箱MaskedTextBox
//
this->电子信箱MaskedTextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"电子信箱",
true)));
this->电子信箱MaskedTextBox->Location = System::Drawing::Point(386, 229);
this->电子信箱MaskedTextBox->Name = L"电子信箱MaskedTextBox";
this->电子信箱MaskedTextBox->Size = System::Drawing::Size(148, 21);
this->电子信箱MaskedTextBox->TabIndex = 110;
//
// 家庭住址TextBox
//
this->家庭住址TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"家庭住址", true)));
this->家庭住址TextBox->Location = System::Drawing::Point(69, 254);
this->家庭住址TextBox->Name = L"家庭住址TextBox";
this->家庭住址TextBox->Size = System::Drawing::Size(200, 21);
this->家庭住址TextBox->TabIndex = 112;
//
// 邮政编码MaskedTextBox
//
this->邮政编码MaskedTextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"邮政编码",
true)));
this->邮政编码MaskedTextBox->Location = System::Drawing::Point(336, 254);
this->邮政编码MaskedTextBox->Mask = L"000000";
this->邮政编码MaskedTextBox->Name = L"邮政编码MaskedTextBox";
this->邮政编码MaskedTextBox->Size = System::Drawing::Size(68, 21);
this->邮政编码MaskedTextBox->TabIndex = 114;
//
// 籍贯TextBox
//
this->籍贯TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"籍贯", true)));
this->籍贯TextBox->Location = System::Drawing::Point(458, 254);
this->籍贯TextBox->Name = L"籍贯TextBox";
this->籍贯TextBox->Size = System::Drawing::Size(75, 21);
this->籍贯TextBox->TabIndex = 116;
//
// 说明TextBox
//
this->说明TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->基本档案BindingSource, L"说明", true)));
this->说明TextBox->Location = System::Drawing::Point(47, 279);
this->说明TextBox->Name = L"说明TextBox";
this->说明TextBox->Size = System::Drawing::Size(486, 21);
this->说明TextBox->TabIndex = 118;
//
// 基本档案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^ >(29) {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->dataGridViewTextBoxColumn23, this->dataGridViewTextBoxColumn24, this->dataGridViewTextBoxColumn25,
this->dataGridViewTextBoxColumn26, this->dataGridViewTextBoxColumn27, this->dataGridViewTextBoxColumn28, this->dataGridViewTextBoxColumn29});
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::Highli
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -