⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commissaryform.h

📁 实现了很好的客户关系管理功能
💻 H
📖 第 1 页 / 共 3 页
字号:
//文件名:CommissaryForm.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>
	/// CommissaryForm 摘要
	///
	/// 警告: 如果更改此类的名称,则需要更改
	///          与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
	///          “资源文件名”属性。否则,
	///          设计器将不能与此窗体的关联
	///          本地化资源正确交互。
	/// </summary>
	public ref class CommissaryForm : public System::Windows::Forms::Form
	{
	public:
		CommissaryForm(void)
		{
			InitializeComponent();
			//
			//TODO: 在此处添加构造函数代码
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~CommissaryForm()
		{
			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^  dataGridViewTextBoxColumn1;
	private: System::Windows::Forms::ToolStripButton^  客户代表BindingNavigatorSaveItem;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn3;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn2;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator2;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMovePreviousItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveLastItem;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveNextItem;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn10;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn9;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn12;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn11;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn8;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn5;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn4;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn7;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  dataGridViewTextBoxColumn6;
	private: System::Windows::Forms::ToolStripButton^  bindingNavigatorMoveFirstItem;
	private: System::Windows::Forms::TextBox^  自编号TextBox;
	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::DateTimePicker^  出生日期DateTimePicker;
	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::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(CommissaryForm::typeid));
			this->MyCRMDataSet = (gcnew My::MyCRMDataSet());
			this->客户代表BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
			this->客户代表TableAdapter = (gcnew My::MyCRMDataSetTableAdapters::客户代表TableAdapter());
			this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->客户代表BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->dataGridViewTextBoxColumn6 = (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->代表姓名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->出生日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
			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());
			家庭电话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(3, 23);
			自编号Label->Name = L"自编号Label";
			自编号Label->Size = System::Drawing::Size(47, 12);
			自编号Label->TabIndex = 28;
			自编号Label->Text = L"自编号:";
			// 
			// 客户名称Label
			// 
			客户名称Label->AutoSize = true;
			客户名称Label->Location = System::Drawing::Point(3, 45);
			客户名称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(3, 67);
			代表姓名Label->Name = L"代表姓名Label";
			代表姓名Label->Size = System::Drawing::Size(59, 12);
			代表姓名Label->TabIndex = 32;
			代表姓名Label->Text = L"代表姓名:";
			// 
			// 所在部门Label
			// 
			所在部门Label->AutoSize = true;
			所在部门Label->Location = System::Drawing::Point(3, 89);
			所在部门Label->Name = L"所在部门Label";
			所在部门Label->Size = System::Drawing::Size(59, 12);
			所在部门Label->TabIndex = 34;
			所在部门Label->Text = L"所在部门:";
			// 
			// 主要职务Label
			// 
			主要职务Label->AutoSize = true;
			主要职务Label->Location = System::Drawing::Point(3, 111);
			主要职务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(3, 133);
			办公电话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(3, 155);
			移动电话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(3, 177);
			家庭电话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, 199);
			电子信箱Label->Name = L"电子信箱Label";
			电子信箱Label->Size = System::Drawing::Size(59, 12);
			电子信箱Label->TabIndex = 44;
			电子信箱Label->Text = L"电子信箱:";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -