📄 documentform.h
字号:
//文件名:DocumentForm.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>
/// DocumentForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class DocumentForm : public System::Windows::Forms::Form
{
public:
DocumentForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~DocumentForm()
{
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^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn13;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn12;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::Button^ 显示文件Button;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::Button^ 选择文件Button;
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::ComboBox^ 机密等级ComboBox;
private: System::Windows::Forms::TextBox^ 发文机关TextBox;
private: System::Windows::Forms::TextBox^ 标题TextBox;
private: System::Windows::Forms::TextBox^ 内容摘要TextBox;
private: System::Windows::Forms::TextBox^ 签收人TextBox;
private: System::Windows::Forms::TextBox^ 分送单位TextBox;
private: System::Windows::Forms::TextBox^ 处理情况TextBox;
private: System::Windows::Forms::TextBox^ 存放路径TextBox;
private: System::Windows::Forms::TextBox^ 说明TextBox;
private: System::Windows::Forms::ToolStripButton^ 收文登记管理BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridView^ 收文登记管理DataGridView;
private: System::Windows::Forms::ToolStripTextBox^ 结束日期ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::BindingNavigator^ 收文登记管理BindingNavigator;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
private: System::Windows::Forms::ToolStripTextBox^ 开始日期ToolStripTextBox;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel2;
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::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(DocumentForm::typeid));
this->MyOfficeDataSet = (gcnew My::MyOfficeDataSet());
this->收文登记管理BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->收文登记管理TableAdapter = (gcnew My::MyOfficeDataSetTableAdapters::收文登记管理TableAdapter());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->显示文件Button = (gcnew System::Windows::Forms::Button());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->选择文件Button = (gcnew System::Windows::Forms::Button());
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->机密等级ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->发文机关TextBox = (gcnew System::Windows::Forms::TextBox());
this->标题TextBox = (gcnew System::Windows::Forms::TextBox());
this->内容摘要TextBox = (gcnew System::Windows::Forms::TextBox());
this->签收人TextBox = (gcnew System::Windows::Forms::TextBox());
this->分送单位TextBox = (gcnew System::Windows::Forms::TextBox());
this->处理情况TextBox = (gcnew System::Windows::Forms::TextBox());
this->存放路径TextBox = (gcnew System::Windows::Forms::TextBox());
this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->收文登记管理BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->收文登记管理DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->结束日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->收文登记管理BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
this->开始日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->toolStripLabel2 = (gcnew System::Windows::Forms::ToolStripLabel());
自编号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());
分送单位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, 27);
自编号Label->Name = L"自编号Label";
自编号Label->Size = System::Drawing::Size(47, 12);
自编号Label->TabIndex = 52;
自编号Label->Text = L"自编号:";
//
// 收文日期Label
//
收文日期Label->AutoSize = true;
收文日期Label->Location = System::Drawing::Point(191, 28);
收文日期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(381, 27);
类别Label->Name = L"类别Label";
类别Label->Size = System::Drawing::Size(35, 12);
类别Label->TabIndex = 56;
类别Label->Text = L"类别:";
//
// 原文字号Label
//
原文字号Label->AutoSize = true;
原文字号Label->Location = System::Drawing::Point(2, 54);
原文字号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(191, 54);
机密等级Label->Name = L"机密等级Label";
机密等级Label->Size = System::Drawing::Size(59, 12);
机密等级Label->TabIndex = 60;
机密等级Label->Text = L"机密等级:";
//
// 发文机关Label
//
发文机关Label->AutoSize = true;
发文机关Label->Location = System::Drawing::Point(332, 54);
发文机关Label->Name = L"发文机关Label";
发文机关Label->Size = System::Drawing::Size(59, 12);
发文机关Label->TabIndex = 62;
发文机关Label->Text = L"发文机关:";
//
// 标题Label
//
标题Label->AutoSize = true;
标题Label->Location = System::Drawing::Point(2, 107);
标题Label->Name = L"标题Label";
标题Label->Size = System::Drawing::Size(35, 12);
标题Label->TabIndex = 64;
标题Label->Text = L"标题:";
//
// 内容摘要Label
//
内容摘要Label->AutoSize = true;
内容摘要Label->Location = System::Drawing::Point(2, 134);
内容摘要Label->Name = L"内容摘要Label";
内容摘要Label->Size = System::Drawing::Size(59, 12);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -