📄 contactform.h
字号:
//文件名:ContactForm.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>
/// ContactForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class ContactForm : public System::Windows::Forms::Form
{
public:
ContactForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~ContactForm()
{
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^ 业务联系BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
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::ComboBox^ 方式ComboBox;
private: System::Windows::Forms::TextBox^ 内容TextBox;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripLabel^ toolStripLabel1;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripComboBox^ 客户名称ToolStripComboBox;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(ContactForm::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->业务联系BindingNavigatorSaveItem = (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->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (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->方式ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->内容TextBox = (gcnew System::Windows::Forms::TextBox());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->客户名称ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
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());
(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, 32);
自编号Label->Name = L"自编号Label";
自编号Label->Size = System::Drawing::Size(47, 12);
自编号Label->TabIndex = 18;
自编号Label->Text = L"自编号:";
//
// 客户名称Label
//
客户名称Label->AutoSize = true;
客户名称Label->Location = System::Drawing::Point(4, 54);
客户名称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(4, 76);
日期Label->Name = L"日期Label";
日期Label->Size = System::Drawing::Size(35, 12);
日期Label->TabIndex = 22;
日期Label->Text = L"日期:";
//
// 主题Label
//
主题Label->AutoSize = true;
主题Label->Location = System::Drawing::Point(4, 98);
主题Label->Name = L"主题Label";
主题Label->Size = System::Drawing::Size(35, 12);
主题Label->TabIndex = 24;
主题Label->Text = L"主题:";
//
// 业务员Label
//
业务员Label->AutoSize = true;
业务员Label->Location = System::Drawing::Point(4, 120);
业务员Label->Name = L"业务员Label";
业务员Label->Size = System::Drawing::Size(47, 12);
业务员Label->TabIndex = 26;
业务员Label->Text = L"业务员:";
//
// 方式Label
//
方式Label->AutoSize = true;
方式Label->Location = System::Drawing::Point(4, 142);
方式Label->Name = L"方式Label";
方式Label->Size = System::Drawing::Size(35, 12);
方式Label->TabIndex = 28;
方式Label->Text = L"方式:";
//
// 内容Label
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -