⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 companyform.h

📁 这是一个用VC++编写的人事工资管理系统,开发平台为VS2005,是开发企业管理程序的程序员的很好参考!
💻 H
📖 第 1 页 / 共 3 页
字号:
			// 服务电话Label
			// 
			服务电话Label->AutoSize = true;
			服务电话Label->Location = System::Drawing::Point(5, 112);
			服务电话Label->Name = L"服务电话Label";
			服务电话Label->Size = System::Drawing::Size(59, 12);
			服务电话Label->TabIndex = 29;
			服务电话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(70, 109);
			this->服务电话TextBox->Name = L"服务电话TextBox";
			this->服务电话TextBox->Size = System::Drawing::Size(170, 21);
			this->服务电话TextBox->TabIndex = 30;
			// 
			// 邮政编码Label
			// 
			邮政编码Label->AutoSize = true;
			邮政编码Label->Location = System::Drawing::Point(5, 139);
			邮政编码Label->Name = L"邮政编码Label";
			邮政编码Label->Size = System::Drawing::Size(59, 12);
			邮政编码Label->TabIndex = 31;
			邮政编码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(70, 136);
			this->邮政编码TextBox->Name = L"邮政编码TextBox";
			this->邮政编码TextBox->Size = System::Drawing::Size(170, 21);
			this->邮政编码TextBox->TabIndex = 32;
			// 
			// 电子邮件Label
			// 
			电子邮件Label->AutoSize = true;
			电子邮件Label->Location = System::Drawing::Point(247, 31);
			电子邮件Label->Name = L"电子邮件Label";
			电子邮件Label->Size = System::Drawing::Size(59, 12);
			电子邮件Label->TabIndex = 33;
			电子邮件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(360, 28);
			this->电子邮件TextBox->Name = L"电子邮件TextBox";
			this->电子邮件TextBox->Size = System::Drawing::Size(175, 21);
			this->电子邮件TextBox->TabIndex = 34;
			// 
			// 公司网站Label
			// 
			公司网站Label->AutoSize = true;
			公司网站Label->Location = System::Drawing::Point(247, 58);
			公司网站Label->Name = L"公司网站Label";
			公司网站Label->Size = System::Drawing::Size(59, 12);
			公司网站Label->TabIndex = 35;
			公司网站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(360, 55);
			this->公司网站TextBox->Name = L"公司网站TextBox";
			this->公司网站TextBox->Size = System::Drawing::Size(175, 21);
			this->公司网站TextBox->TabIndex = 36;
			// 
			// 管理系统背景照片Label
			// 
			管理系统背景照片Label->AutoSize = true;
			管理系统背景照片Label->Location = System::Drawing::Point(247, 85);
			管理系统背景照片Label->Name = L"管理系统背景照片Label";
			管理系统背景照片Label->Size = System::Drawing::Size(107, 12);
			管理系统背景照片Label->TabIndex = 37;
			管理系统背景照片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(360, 82);
			this->管理系统背景照片TextBox->Name = L"管理系统背景照片TextBox";
			this->管理系统背景照片TextBox->Size = System::Drawing::Size(175, 21);
			this->管理系统背景照片TextBox->TabIndex = 38;
			// 
			// 管理系统显示名称Label
			// 
			管理系统显示名称Label->AutoSize = true;
			管理系统显示名称Label->Location = System::Drawing::Point(247, 112);
			管理系统显示名称Label->Name = L"管理系统显示名称Label";
			管理系统显示名称Label->Size = System::Drawing::Size(107, 12);
			管理系统显示名称Label->TabIndex = 39;
			管理系统显示名称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(360, 109);
			this->管理系统显示名称TextBox->Name = L"管理系统显示名称TextBox";
			this->管理系统显示名称TextBox->Size = System::Drawing::Size(175, 21);
			this->管理系统显示名称TextBox->TabIndex = 40;
			// 
			// 显示优先级Label
			// 
			显示优先级Label->AutoSize = true;
			显示优先级Label->Location = System::Drawing::Point(247, 139);
			显示优先级Label->Name = L"显示优先级Label";
			显示优先级Label->Size = System::Drawing::Size(71, 12);
			显示优先级Label->TabIndex = 41;
			显示优先级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(360, 136);
			this->显示优先级TextBox->Name = L"显示优先级TextBox";
			this->显示优先级TextBox->Size = System::Drawing::Size(175, 21);
			this->显示优先级TextBox->TabIndex = 42;
			// 
			// 公司信息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^  >(10) {this->dataGridViewTextBoxColumn1, 
				this->dataGridViewTextBoxColumn2, this->dataGridViewTextBoxColumn3, this->dataGridViewTextBoxColumn4, this->dataGridViewTextBoxColumn5, 
				this->dataGridViewTextBoxColumn6, this->dataGridViewTextBoxColumn7, this->dataGridViewTextBoxColumn8, this->dataGridViewTextBoxColumn9, 
				this->dataGridViewTextBoxColumn10});
			this->公司信息DataGridView->DataSource = this->公司信息BindingSource;
			this->公司信息DataGridView->Location = System::Drawing::Point(7, 162);
			this->公司信息DataGridView->MultiSelect = false;
			this->公司信息DataGridView->Name = L"公司信息DataGridView";
			this->公司信息DataGridView->ReadOnly = true;
			this->公司信息DataGridView->RowHeadersVisible = false;
			dataGridViewCellStyle1->BackColor = System::Drawing::Color::Green;
			dataGridViewCellStyle1->ForeColor = System::Drawing::Color::Yellow;
			this->公司信息DataGridView->RowsDefaultCellStyle = dataGridViewCellStyle1;
			this->公司信息DataGridView->RowTemplate->Height = 23;
			this->公司信息DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
			this->公司信息DataGridView->Size = System::Drawing::Size(528, 248);
			this->公司信息DataGridView->TabIndex = 22;
			// 
			// CompanyForm
			// 
			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->公司地址TextBox);
			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->电子邮件TextBox);
			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->管理系统显示名称TextBox);
			this->Controls->Add(显示优先级Label);
			this->Controls->Add(this->显示优先级TextBox);
			this->Controls->Add(this->公司信息DataGridView);
			this->Controls->Add(this->公司信息BindingNavigator);
			this->Name = L"CompanyForm";
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
			this->Text = L"登记公司基本信息";
			this->Load += gcnew System::EventHandler(this, &CompanyForm::CompanyForm_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 CompanyForm_Load(System::Object^  sender, System::EventArgs^  e) {
			 // TODO: 这行代码将数据加载到表“MyPersonnelDataSet.公司信息”中。您可以根据需要移动或移除它。
			 this->公司信息TableAdapter->Fill(this->MyPersonnelDataSet->公司信息);
		 }
};
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -