📄 reportform.h
字号:
//文件名:ReportForm.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>
/// ReportForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class ReportForm : public System::Windows::Forms::Form
{
public:
ReportForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~ReportForm()
{
if (components)
{
delete components;
}
}
private: My::MyOfficeDataSet^ MyOfficeDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 呈送报表管理BindingSource;
private: My::MyOfficeDataSetTableAdapters::呈送报表管理TableAdapter^ 呈送报表管理TableAdapter;
private: System::Windows::Forms::ToolStripButton^ 呈送报表管理BindingNavigatorSaveItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel2;
private: System::Windows::Forms::ToolStripTextBox^ 结束日期ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::TextBox^ 自编号TextBox;
private: System::Windows::Forms::DateTimePicker^ 呈送日期DateTimePicker;
private: System::Windows::Forms::ComboBox^ 保密级别ComboBox;
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::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripTextBox^ 开始日期ToolStripTextBox;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
private: System::Windows::Forms::DataGridView^ 呈送报表管理DataGridView;
private: System::Windows::Forms::BindingNavigator^ 呈送报表管理BindingNavigator;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(ReportForm::typeid));
this->MyOfficeDataSet = (gcnew My::MyOfficeDataSet());
this->呈送报表管理BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->呈送报表管理TableAdapter = (gcnew My::MyOfficeDataSetTableAdapters::呈送报表管理TableAdapter());
this->呈送报表管理BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->toolStripLabel2 = (gcnew System::Windows::Forms::ToolStripLabel());
this->结束日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->自编号TextBox = (gcnew System::Windows::Forms::TextBox());
this->呈送日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->保密级别ComboBox = (gcnew System::Windows::Forms::ComboBox());
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->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->开始日期ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
this->呈送报表管理DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->呈送报表管理BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
自编号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(4, 30);
自编号Label->Name = L"自编号Label";
自编号Label->Size = System::Drawing::Size(47, 12);
自编号Label->TabIndex = 22;
自编号Label->Text = L"自编号:";
//
// 呈送日期Label
//
呈送日期Label->AutoSize = true;
呈送日期Label->Location = System::Drawing::Point(182, 30);
呈送日期Label->Name = L"呈送日期Label";
呈送日期Label->Size = System::Drawing::Size(59, 12);
呈送日期Label->TabIndex = 24;
呈送日期Label->Text = L"呈送日期:";
//
// 保密级别Label
//
保密级别Label->AutoSize = true;
保密级别Label->Location = System::Drawing::Point(379, 30);
保密级别Label->Name = L"保密级别Label";
保密级别Label->Size = System::Drawing::Size(59, 12);
保密级别Label->TabIndex = 26;
保密级别Label->Text = L"保密级别:";
//
// 呈送方式Label
//
呈送方式Label->AutoSize = true;
呈送方式Label->Location = System::Drawing::Point(4, 57);
呈送方式Label->Name = L"呈送方式Label";
呈送方式Label->Size = System::Drawing::Size(59, 12);
呈送方式Label->TabIndex = 28;
呈送方式Label->Text = L"呈送方式:";
//
// 报表名称Label
//
报表名称Label->AutoSize = true;
报表名称Label->Location = System::Drawing::Point(4, 83);
报表名称Label->Name = L"报表名称Label";
报表名称Label->Size = System::Drawing::Size(59, 12);
报表名称Label->TabIndex = 30;
报表名称Label->Text = L"报表名称:";
//
// 份数Label
//
份数Label->AutoSize = true;
份数Label->Location = System::Drawing::Point(143, 57);
份数Label->Name = L"份数Label";
份数Label->Size = System::Drawing::Size(35, 12);
份数Label->TabIndex = 32;
份数Label->Text = L"份数:";
//
// 经办人Label
//
经办人Label->AutoSize = true;
经办人Label->Location = System::Drawing::Point(223, 57);
经办人Label->Name = L"经办人Label";
经办人Label->Size = System::Drawing::Size(47, 12);
经办人Label->TabIndex = 34;
经办人Label->Text = L"经办人:";
//
// 呈送单位Label
//
呈送单位Label->AutoSize = true;
呈送单位Label->Location = System::Drawing::Point(350, 57);
呈送单位Label->Name = L"呈送单位Label";
呈送单位Label->Size = System::Drawing::Size(59, 12);
呈送单位Label->TabIndex = 36;
呈送单位Label->Text = L"呈送单位:";
//
// 说明Label
//
说明Label->AutoSize = true;
说明Label->Location = System::Drawing::Point(5, 110);
说明Label->Name = L"说明Label";
说明Label->Size = System::Drawing::Size(35, 12);
说明Label->TabIndex = 38;
说明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;
//
// 呈送报表管理BindingNavigatorSaveItem
//
this->呈送报表管理BindingNavigatorSaveItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"呈送报表管理BindingNavigatorSaveItem.Image")));
this->呈送报表管理BindingNavigatorSaveItem->Name = L"呈送报表管理BindingNavigatorSaveItem";
this->呈送报表管理BindingNavigatorSaveItem->Size = System::Drawing::Size(49, 22);
this->呈送报表管理BindingNavigatorSaveItem->Text = L"保存";
this->呈送报表管理BindingNavigatorSaveItem->Click += gcnew System::EventHandler(this, &ReportForm::呈送报表管理BindingNavigatorSaveItem_Click);
//
// dataGridViewTextBoxColumn1
//
this->dataGridViewTextBoxColumn1->DataPropertyName = L"自编号";
this->dataGridViewTextBoxColumn1->HeaderText = L"自编号";
this->dataGridViewTextBoxColumn1->Name = L"dataGridViewTextBoxColumn1";
this->dataGridViewTextBoxColumn1->ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this->dataGridViewTextBoxColumn2->DataPropertyName = L"呈送日期";
this->dataGridViewTextBoxColumn2->HeaderText = L"呈送日期";
this->dataGridViewTextBoxColumn2->Name = L"dataGridViewTextBoxColumn2";
this->dataGridViewTextBoxColumn2->ReadOnly = true;
//
// bindingNavigatorSeparator2
//
this->bindingNavigatorSeparator2->Name = L"bindingNavigatorSeparator2";
this->bindingNavigatorSeparator2->Size = System::Drawing::Size(6, 25);
//
// toolStripLabel2
//
this->toolStripLabel2->Name = L"toolStripLabel2";
this->toolStripLabel2->Size = System::Drawing::Size(59, 22);
this->toolStripLabel2->Text = L"结束日期:";
//
// 结束日期ToolStripTextBox
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -