📄 companyform.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 客户关系管理系统 {
/// <summary>
/// CompanyForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class CompanyForm : public System::Windows::Forms::Form
{
public:
CompanyForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~CompanyForm()
{
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^ 公司信息BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator1;
private: System::Windows::Forms::ToolStripTextBox^ bindingNavigatorPositionItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
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::ToolStripLabel^ bindingNavigatorCountItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(CompanyForm::typeid));
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;
this->MyCRMDataSet = (gcnew My::MyCRMDataSet());
this->公司信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->公司信息TableAdapter = (gcnew My::MyCRMDataSetTableAdapters::公司信息TableAdapter());
this->公司信息BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (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->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
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->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
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());
(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();
//
// 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;
//
// 公司信息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, 22);
this->公司信息BindingNavigatorSaveItem->Text = L"保存";
this->公司信息BindingNavigatorSaveItem->Click += gcnew System::EventHandler(this, &CompanyForm::公司信息BindingNavigatorSaveItem_Click);
//
// bindingNavigatorSeparator2
//
this->bindingNavigatorSeparator2->Name = L"bindingNavigatorSeparator2";
this->bindingNavigatorSeparator2->Size = System::Drawing::Size(6, 25);
//
// dataGridViewTextBoxColumn2
//
this->dataGridViewTextBoxColumn2->DataPropertyName = L"法人代表";
this->dataGridViewTextBoxColumn2->HeaderText = L"法人代表";
this->dataGridViewTextBoxColumn2->Name = L"dataGridViewTextBoxColumn2";
this->dataGridViewTextBoxColumn2->ReadOnly = true;
//
// dataGridViewTextBoxColumn1
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -