📄 eventform.h
字号:
//文件名:EventForm.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 MyCommunity {
/// <summary>
/// EventForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class EventForm : public System::Windows::Forms::Form
{
public:
EventForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~EventForm()
{
if (components)
{
delete components;
}
}
private: MyCommunity::DBCommunityDataSet^ DBCommunityDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 突发事件BindingSource;
private: MyCommunity::DBCommunityDataSetTableAdapters::突发事件TableAdapter^ 突发事件TableAdapter;
private: System::Windows::Forms::BindingNavigator^ 突发事件BindingNavigator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripButton^ 突发事件BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripLabel^ 事件编号ToolStripLabel;
private: System::Windows::Forms::ToolStripTextBox^ 事件编号ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 打印ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 事件编号DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridView^ 突发事件DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 发生日期DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 处理人员DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 事件主题DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 事件内容DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 处理结果DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 补充说明DataGridViewTextBoxColumn;
private: System::Drawing::Printing::PrintDocument^ printDocument1;
private: System::Windows::Forms::PrintPreviewDialog^ printPreviewDialog1;
private: System::Windows::Forms::TextBox^ 补充说明TextBox;
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::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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(EventForm::typeid));
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle2 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle3 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
this->DBCommunityDataSet = (gcnew MyCommunity::DBCommunityDataSet());
this->突发事件BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->突发事件TableAdapter = (gcnew MyCommunity::DBCommunityDataSetTableAdapters::突发事件TableAdapter());
this->突发事件BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->事件编号ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->事件编号ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->突发事件BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->打印ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->事件编号DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->突发事件DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->发生日期DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->处理人员DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->事件主题DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->事件内容DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->处理结果DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->补充说明DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
this->printPreviewDialog1 = (gcnew System::Windows::Forms::PrintPreviewDialog());
this->补充说明TextBox = (gcnew System::Windows::Forms::TextBox());
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());
事件编号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->DBCommunityDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->突发事件BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->突发事件BindingNavigator))->BeginInit();
this->突发事件BindingNavigator->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->突发事件DataGridView))->BeginInit();
this->SuspendLayout();
//
// 事件编号Label
//
事件编号Label->AutoSize = true;
事件编号Label->Location = System::Drawing::Point(3, 29);
事件编号Label->Name = L"事件编号Label";
事件编号Label->Size = System::Drawing::Size(59, 12);
事件编号Label->TabIndex = 38;
事件编号Label->Text = L"事件编号:";
//
// 发生日期Label
//
发生日期Label->AutoSize = true;
发生日期Label->Location = System::Drawing::Point(199, 29);
发生日期Label->Name = L"发生日期Label";
发生日期Label->Size = System::Drawing::Size(59, 12);
发生日期Label->TabIndex = 40;
发生日期Label->Text = L"发生日期:";
//
// 处理人员Label
//
处理人员Label->AutoSize = true;
处理人员Label->Location = System::Drawing::Point(391, 29);
处理人员Label->Name = L"处理人员Label";
处理人员Label->Size = System::Drawing::Size(59, 12);
处理人员Label->TabIndex = 42;
处理人员Label->Text = L"处理人员:";
//
// 事件主题Label
//
事件主题Label->AutoSize = true;
事件主题Label->Location = System::Drawing::Point(3, 54);
事件主题Label->Name = L"事件主题Label";
事件主题Label->Size = System::Drawing::Size(59, 12);
事件主题Label->TabIndex = 44;
事件主题Label->Text = L"事件主题:";
//
// 事件内容Label
//
事件内容Label->AutoSize = true;
事件内容Label->Location = System::Drawing::Point(3, 79);
事件内容Label->Name = L"事件内容Label";
事件内容Label->Size = System::Drawing::Size(59, 12);
事件内容Label->TabIndex = 46;
事件内容Label->Text = L"事件内容:";
//
// 处理结果Label
//
处理结果Label->AutoSize = true;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -