📄 certificateform.h
字号:
//文件名:CertificateForm.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;
namespace 办公事务管理系统 {
/// <summary>
/// CertificateForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class CertificateForm : public System::Windows::Forms::Form
{
public:
CertificateForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~CertificateForm()
{
if (components)
{
delete components;
}
}
private: My::MyOfficeDataSet^ MyOfficeDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 公司证件管理BindingSource;
private: My::MyOfficeDataSetTableAdapters::公司证件管理TableAdapter^ 公司证件管理TableAdapter;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::Button^ 显示文件Button;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::Button^ 选择文件Button;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
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::TextBox^ 存放路径TextBox;
private: System::Windows::Forms::TextBox^ 说明TextBox;
private: System::Windows::Forms::DataGridView^ 公司证件管理DataGridView;
private: System::Windows::Forms::ToolStripButton^ 公司证件管理BindingNavigatorSaveItem;
private: System::Windows::Forms::BindingNavigator^ 公司证件管理BindingNavigator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
private: System::Windows::Forms::ToolStripTextBox^ 开始日期ToolStripTextBox;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel2;
private: System::Windows::Forms::ToolStripTextBox^ 结束日期ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(CertificateForm::typeid));
this->MyOfficeDataSet = (gcnew My::MyOfficeDataSet());
this->公司证件管理BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->公司证件管理TableAdapter = (gcnew My::MyOfficeDataSetTableAdapters::公司证件管理TableAdapter());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->显示文件Button = (gcnew System::Windows::Forms::Button());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->选择文件Button = (gcnew System::Windows::Forms::Button());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
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->存放路径TextBox = (gcnew System::Windows::Forms::TextBox());
this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->公司证件管理DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->公司证件管理BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->公司证件管理BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
this->开始日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->toolStripLabel2 = (gcnew System::Windows::Forms::ToolStripLabel());
this->结束日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
证件编号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->MyOfficeDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->公司证件管理BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->公司证件管理DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->公司证件管理BindingNavigator))->BeginInit();
this->公司证件管理BindingNavigator->SuspendLayout();
this->SuspendLayout();
//
// 证件编号Label
//
证件编号Label->AutoSize = true;
证件编号Label->Location = System::Drawing::Point(2, 29);
证件编号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(273, 30);
证件名称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(2, 57);
日期Label->Name = L"日期Label";
日期Label->Size = System::Drawing::Size(35, 12);
日期Label->TabIndex = 54;
日期Label->Text = L"日期:";
//
// 签发单位Label
//
签发单位Label->AutoSize = true;
签发单位Label->Location = System::Drawing::Point(273, 57);
签发单位Label->Name = L"签发单位Label";
签发单位Label->Size = System::Drawing::Size(59, 12);
签发单位Label->TabIndex = 56;
签发单位Label->Text = L"签发单位:";
//
// 存放路径Label
//
存放路径Label->AutoSize = true;
存放路径Label->Location = System::Drawing::Point(2, 83);
存放路径Label->Name = L"存放路径Label";
存放路径Label->Size = System::Drawing::Size(59, 12);
存放路径Label->TabIndex = 58;
存放路径Label->Text = L"存放路径:";
//
// 说明Label
//
说明Label->AutoSize = true;
说明Label->Location = System::Drawing::Point(2, 110);
说明Label->Name = L"说明Label";
说明Label->Size = System::Drawing::Size(35, 12);
说明Label->TabIndex = 60;
说明Label->Text = L"说明:";
//
// MyOfficeDataSet
//
this->MyOfficeDataSet->DataSetName = L"MyOfficeDataSet";
this->MyOfficeDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
//
// 公司证件管理BindingSource
//
this->公司证件管理BindingSource->DataMember = L"公司证件管理";
this->公司证件管理BindingSource->DataSource = this->MyOfficeDataSet;
//
// 公司证件管理TableAdapter
//
this->公司证件管理TableAdapter->ClearBeforeFill = true;
//
// dataGridViewTextBoxColumn5
//
this->dataGridViewTextBoxColumn5->DataPropertyName = L"存放路径";
this->dataGridViewTextBoxColumn5->HeaderText = L"存放路径";
this->dataGridViewTextBoxColumn5->Name = L"dataGridViewTextBoxColumn5";
this->dataGridViewTextBoxColumn5->ReadOnly = true;
//
// dataGridViewTextBoxColumn4
//
this->dataGridViewTextBoxColumn4->DataPropertyName = L"签发单位";
this->dataGridViewTextBoxColumn4->HeaderText = L"签发单位";
this->dataGridViewTextBoxColumn4->Name = L"dataGridViewTextBoxColumn4";
this->dataGridViewTextBoxColumn4->ReadOnly = true;
//
// dataGridViewTextBoxColumn6
//
this->dataGridViewTextBoxColumn6->DataPropertyName = L"说明";
this->dataGridViewTextBoxColumn6->HeaderText = L"说明";
this->dataGridViewTextBoxColumn6->Name = L"dataGridViewTextBoxColumn6";
this->dataGridViewTextBoxColumn6->ReadOnly = true;
//
// 显示文件Button
//
this->显示文件Button->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Right));
this->显示文件Button->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"显示文件Button.Image")));
this->显示文件Button->Location = System::Drawing::Point(464, 78);
this->显示文件Button->Name = L"显示文件Button";
this->显示文件Button->Size = System::Drawing::Size(88, 23);
this->显示文件Button->TabIndex = 63;
this->显示文件Button->Text = L"显示文件";
this->显示文件Button->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
this->显示文件Button->UseVisualStyleBackColor = true;
this->显示文件Button->Click += gcnew System::EventHandler(this, &CertificateForm::显示文件Button_Click);
//
// dataGridViewTextBoxColumn3
//
this->dataGridViewTextBoxColumn3->DataPropertyName = L"日期";
this->dataGridViewTextBoxColumn3->HeaderText = L"日期";
this->dataGridViewTextBoxColumn3->Name = L"dataGridViewTextBoxColumn3";
this->dataGridViewTextBoxColumn3->ReadOnly = true;
//
// 选择文件Button
//
this->选择文件Button->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Right));
this->选择文件Button->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"选择文件Button.Image")));
this->选择文件Button->Location = System::Drawing::Point(376, 78);
this->选择文件Button->Name = L"选择文件Button";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -