📄 remindform.h
字号:
//文件名:RemindForm.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;
using namespace System::Data::SqlClient;
namespace 客户关系管理系统 {
/// <summary>
/// RemindForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class RemindForm : public System::Windows::Forms::Form
{
public:
RemindForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~RemindForm()
{
if (components)
{
delete components;
}
}
private: My::MyCRMDataSet^ MyCRMDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 事务提醒BindingSource;
private: My::MyCRMDataSetTableAdapters::事务提醒TableAdapter^ 事务提醒TableAdapter;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripButton^ 事务提醒BindingNavigatorSaveItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::TextBox^ 自编号TextBox;
private: System::Windows::Forms::ComboBox^ 客户名称ComboBox;
private: System::Windows::Forms::DateTimePicker^ 提醒日期DateTimePicker;
private: System::Windows::Forms::TextBox^ 事务主题TextBox;
private: System::Windows::Forms::TextBox^ 详细描述TextBox;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripComboBox^ 客户名称ToolStripComboBox;
private: System::Windows::Forms::DataGridView^ 事务提醒DataGridView;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(RemindForm::typeid));
this->MyCRMDataSet = (gcnew My::MyCRMDataSet());
this->事务提醒BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->事务提醒TableAdapter = (gcnew My::MyCRMDataSetTableAdapters::事务提醒TableAdapter());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->事务提醒BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
this->自编号TextBox = (gcnew System::Windows::Forms::TextBox());
this->客户名称ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->提醒日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->事务主题TextBox = (gcnew System::Windows::Forms::TextBox());
this->详细描述TextBox = (gcnew System::Windows::Forms::TextBox());
this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->客户名称ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->事务提醒DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
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());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->MyCRMDataSet))->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, 29);
自编号Label->Name = L"自编号Label";
自编号Label->Size = System::Drawing::Size(47, 12);
自编号Label->TabIndex = 14;
自编号Label->Text = L"自编号:";
//
// 客户名称Label
//
客户名称Label->AutoSize = true;
客户名称Label->Location = System::Drawing::Point(4, 56);
客户名称Label->Name = L"客户名称Label";
客户名称Label->Size = System::Drawing::Size(59, 12);
客户名称Label->TabIndex = 16;
客户名称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 = 18;
提醒日期Label->Text = L"提醒日期:";
//
// 事务主题Label
//
事务主题Label->AutoSize = true;
事务主题Label->Location = System::Drawing::Point(4, 109);
事务主题Label->Name = L"事务主题Label";
事务主题Label->Size = System::Drawing::Size(59, 12);
事务主题Label->TabIndex = 20;
事务主题Label->Text = L"事务主题:";
//
// 详细描述Label
//
详细描述Label->AutoSize = true;
详细描述Label->Location = System::Drawing::Point(272, 29);
详细描述Label->Name = L"详细描述Label";
详细描述Label->Size = System::Drawing::Size(59, 12);
详细描述Label->TabIndex = 22;
详细描述Label->Text = L"详细描述:";
//
// MyCRMDataSet
//
this->MyCRMDataSet->DataSetName = L"MyCRMDataSet";
this->MyCRMDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
//
// 事务提醒BindingSource
//
this->事务提醒BindingSource->DataMember = L"事务提醒";
this->事务提醒BindingSource->DataSource = this->MyCRMDataSet;
//
// 事务提醒TableAdapter
//
this->事务提醒TableAdapter->ClearBeforeFill = true;
//
// bindingNavigatorMoveLastItem
//
this->bindingNavigatorMoveLastItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->bindingNavigatorMoveLastItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"bindingNavigatorMoveLastItem.Image")));
this->bindingNavigatorMoveLastItem->Name = L"bindingNavigatorMoveLastItem";
this->bindingNavigatorMoveLastItem->RightToLeftAutoMirrorImage = true;
this->bindingNavigatorMoveLastItem->Size = System::Drawing::Size(23, 22);
this->bindingNavigatorMoveLastItem->Text = L"移到最后一条记录";
//
// bindingNavigatorSeparator2
//
this->bindingNavigatorSeparator2->Name = L"bindingNavigatorSeparator2";
this->bindingNavigatorSeparator2->Size = System::Drawing::Size(6, 25);
//
// bindingNavigatorMoveNextItem
//
this->bindingNavigatorMoveNextItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->bindingNavigatorMoveNextItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"bindingNavigatorMoveNextItem.Image")));
this->bindingNavigatorMoveNextItem->Name = L"bindingNavigatorMoveNextItem";
this->bindingNavigatorMoveNextItem->RightToLeftAutoMirrorImage = true;
this->bindingNavigatorMoveNextItem->Size = System::Drawing::Size(23, 22);
this->bindingNavigatorMoveNextItem->Text = L"移到下一条记录";
//
// bindingNavigatorMovePreviousItem
//
this->bindingNavigatorMovePreviousItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->bindingNavigatorMovePreviousItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"bindingNavigatorMovePreviousItem.Image")));
this->bindingNavigatorMovePreviousItem->Name = L"bindingNavigatorMovePreviousItem";
this->bindingNavigatorMovePreviousItem->RightToLeftAutoMirrorImage = true;
this->bindingNavigatorMovePreviousItem->Size = System::Drawing::Size(23, 22);
this->bindingNavigatorMovePreviousItem->Text = L"移到上一条记录";
//
// bindingNavigatorSeparator
//
this->bindingNavigatorSeparator->Name = L"bindingNavigatorSeparator";
this->bindingNavigatorSeparator->Size = System::Drawing::Size(6, 25);
//
// 事务提醒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, 20);
this->事务提醒BindingNavigatorSaveItem->Text = L"保存";
this->事务提醒BindingNavigatorSaveItem->Click += gcnew System::EventHandler(this, &RemindForm::事务提醒BindingNavigatorSaveItem_Click);
//
// dataGridViewTextBoxColumn4
//
this->dataGridViewTextBoxColumn4->DataPropertyName = L"事务主题";
this->dataGridViewTextBoxColumn4->HeaderText = L"事务主题";
this->dataGridViewTextBoxColumn4->Name = L"dataGridViewTextBoxColumn4";
this->dataGridViewTextBoxColumn4->ReadOnly = true;
//
// dataGridViewTextBoxColumn5
//
this->dataGridViewTextBoxColumn5->DataPropertyName = L"详细描述";
this->dataGridViewTextBoxColumn5->HeaderText = L"详细描述";
this->dataGridViewTextBoxColumn5->Name = L"dataGridViewTextBoxColumn5";
this->dataGridViewTextBoxColumn5->ReadOnly = true;
//
// dataGridViewTextBoxColumn3
//
this->dataGridViewTextBoxColumn3->DataPropertyName = L"提醒日期";
this->dataGridViewTextBoxColumn3->HeaderText = L"提醒日期";
this->dataGridViewTextBoxColumn3->Name = L"dataGridViewTextBoxColumn3";
this->dataGridViewTextBoxColumn3->ReadOnly = true;
//
// 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"客户名称";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -