📄 clientform.h
字号:
//文件名:ClientForm.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>
/// ClientForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class ClientForm : public System::Windows::Forms::Form
{
public:
ClientForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~ClientForm()
{
if (components)
{
delete components;
}
}
private: My::MyCRMDataSet^ MyCRMDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 客户资料BindingSource;
private: My::MyCRMDataSetTableAdapters::客户资料TableAdapter^ 客户资料TableAdapter;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::ToolStripButton^ 客户资料BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn21;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn20;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn19;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn22;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn25;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn24;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn23;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn18;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn13;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn12;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn14;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn17;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn16;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn15;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::TextBox^ 客户名称TextBox;
private: System::Windows::Forms::ComboBox^ 行业类别ComboBox;
private: System::Windows::Forms::ComboBox^ 企业性质ComboBox;
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::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::ComboBox^ 客户来源ComboBox;
private: System::Windows::Forms::ComboBox^ 客户类型ComboBox;
private: System::Windows::Forms::ComboBox^ 客户阶段ComboBox;
private: System::Windows::Forms::ComboBox^ 客户状态ComboBox;
private: System::Windows::Forms::ComboBox^ 客户级别ComboBox;
private: System::Windows::Forms::ComboBox^ 信用等级ComboBox;
private: System::Windows::Forms::ComboBox^ 客户规模ComboBox;
private: System::Windows::Forms::TextBox^ 说明TextBox;
private: System::Windows::Forms::DateTimePicker^ 添加日期DateTimePicker;
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::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::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(ClientForm::typeid));
this->MyCRMDataSet = (gcnew My::MyCRMDataSet());
this->客户资料BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->客户资料TableAdapter = (gcnew My::MyCRMDataSetTableAdapters::客户资料TableAdapter());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->客户资料BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn21 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn20 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn19 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn25 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn24 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn18 = (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->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn17 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn16 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn15 = (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->企业性质ComboBox = (gcnew System::Windows::Forms::ComboBox());
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->电子信箱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->客户来源ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->客户类型ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->客户阶段ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->客户状态ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->客户级别ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->信用等级ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->客户规模ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->添加日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
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());
电话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());
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -