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

📄 contractform.h

📁 实现了很好的客户关系管理功能
💻 H
📖 第 1 页 / 共 3 页
字号:
			// 
			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;
			// 
			// dataGridViewTextBoxColumn5
			// 
			this->dataGridViewTextBoxColumn5->DataPropertyName = L"内容摘要";
			this->dataGridViewTextBoxColumn5->HeaderText = L"内容摘要";
			this->dataGridViewTextBoxColumn5->Name = L"dataGridViewTextBoxColumn5";
			// 
			// dataGridViewTextBoxColumn4
			// 
			this->dataGridViewTextBoxColumn4->DataPropertyName = L"合同名称";
			this->dataGridViewTextBoxColumn4->HeaderText = L"合同名称";
			this->dataGridViewTextBoxColumn4->Name = L"dataGridViewTextBoxColumn4";
			// 
			// dataGridViewTextBoxColumn7
			// 
			this->dataGridViewTextBoxColumn7->DataPropertyName = L"说明";
			this->dataGridViewTextBoxColumn7->HeaderText = L"说明";
			this->dataGridViewTextBoxColumn7->Name = L"dataGridViewTextBoxColumn7";
			// 
			// dataGridViewTextBoxColumn6
			// 
			this->dataGridViewTextBoxColumn6->DataPropertyName = L"存放路径";
			this->dataGridViewTextBoxColumn6->HeaderText = L"存放路径";
			this->dataGridViewTextBoxColumn6->Name = L"dataGridViewTextBoxColumn6";
			// 
			// dataGridViewTextBoxColumn1
			// 
			this->dataGridViewTextBoxColumn1->DataPropertyName = L"自编号";
			this->dataGridViewTextBoxColumn1->HeaderText = L"自编号";
			this->dataGridViewTextBoxColumn1->Name = L"dataGridViewTextBoxColumn1";
			// 
			// 客户合同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, &ContractForm::客户合同BindingNavigatorSaveItem_Click);
			// 
			// dataGridViewTextBoxColumn3
			// 
			this->dataGridViewTextBoxColumn3->DataPropertyName = L"合同日期";
			this->dataGridViewTextBoxColumn3->HeaderText = L"合同日期";
			this->dataGridViewTextBoxColumn3->Name = L"dataGridViewTextBoxColumn3";
			// 
			// dataGridViewTextBoxColumn2
			// 
			this->dataGridViewTextBoxColumn2->DataPropertyName = L"客户名称";
			this->dataGridViewTextBoxColumn2->HeaderText = L"客户名称";
			this->dataGridViewTextBoxColumn2->Name = L"dataGridViewTextBoxColumn2";
			// 
			// 显示文件Button
			// 
			this->显示文件Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"显示文件Button.Image")));
			this->显示文件Button->Location = System::Drawing::Point(451, 25);
			this->显示文件Button->Name = L"显示文件Button";
			this->显示文件Button->Size = System::Drawing::Size(86, 23);
			this->显示文件Button->TabIndex = 35;
			this->显示文件Button->Text = L"显示文件";
			this->显示文件Button->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
			this->显示文件Button->UseVisualStyleBackColor = true;
			this->显示文件Button->Click += gcnew System::EventHandler(this, &ContractForm::显示文件Button_Click);
			// 
			// 选择文件Button
			// 
			this->选择文件Button->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"选择文件Button.Image")));
			this->选择文件Button->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
			this->选择文件Button->Location = System::Drawing::Point(367, 25);
			this->选择文件Button->Name = L"选择文件Button";
			this->选择文件Button->Size = System::Drawing::Size(78, 23);
			this->选择文件Button->TabIndex = 34;
			this->选择文件Button->Text = L"选择文件";
			this->选择文件Button->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
			this->选择文件Button->UseVisualStyleBackColor = true;
			this->选择文件Button->Click += gcnew System::EventHandler(this, &ContractForm::选择文件Button_Click);
			// 
			// 自编号TextBox
			// 
			this->自编号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->客户合同BindingSource, L"自编号", true)));
			this->自编号TextBox->Location = System::Drawing::Point(67, 27);
			this->自编号TextBox->Name = L"自编号TextBox";
			this->自编号TextBox->ReadOnly = true;
			this->自编号TextBox->Size = System::Drawing::Size(200, 21);
			this->自编号TextBox->TabIndex = 21;
			// 
			// 客户名称ComboBox
			// 
			this->客户名称ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->客户合同BindingSource, L"客户名称", true)));
			this->客户名称ComboBox->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->客户名称ComboBox->FormattingEnabled = true;
			this->客户名称ComboBox->Location = System::Drawing::Point(67, 54);
			this->客户名称ComboBox->Name = L"客户名称ComboBox";
			this->客户名称ComboBox->Size = System::Drawing::Size(200, 20);
			this->客户名称ComboBox->TabIndex = 23;
			// 
			// 合同日期DateTimePicker
			// 
			this->合同日期DateTimePicker->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Value", this->客户合同BindingSource, L"合同日期", 
				true)));
			this->合同日期DateTimePicker->Location = System::Drawing::Point(67, 80);
			this->合同日期DateTimePicker->Name = L"合同日期DateTimePicker";
			this->合同日期DateTimePicker->Size = System::Drawing::Size(200, 21);
			this->合同日期DateTimePicker->TabIndex = 25;
			// 
			// 合同名称TextBox
			// 
			this->合同名称TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->客户合同BindingSource, L"合同名称", true)));
			this->合同名称TextBox->Location = System::Drawing::Point(67, 107);
			this->合同名称TextBox->Name = L"合同名称TextBox";
			this->合同名称TextBox->Size = System::Drawing::Size(200, 21);
			this->合同名称TextBox->TabIndex = 27;
			// 
			// 内容摘要TextBox
			// 
			this->内容摘要TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->客户合同BindingSource, L"内容摘要", true)));
			this->内容摘要TextBox->Location = System::Drawing::Point(67, 134);
			this->内容摘要TextBox->Multiline = true;
			this->内容摘要TextBox->Name = L"内容摘要TextBox";
			this->内容摘要TextBox->Size = System::Drawing::Size(200, 92);
			this->内容摘要TextBox->TabIndex = 29;
			// 
			// 存放路径TextBox
			// 
			this->存放路径TextBox->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->存放路径TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->客户合同BindingSource, L"存放路径", true)));
			this->存放路径TextBox->Location = System::Drawing::Point(280, 54);
			this->存放路径TextBox->Name = L"存放路径TextBox";
			this->存放路径TextBox->ReadOnly = true;
			this->存放路径TextBox->Size = System::Drawing::Size(257, 21);
			this->存放路径TextBox->TabIndex = 31;
			// 
			// 说明TextBox
			// 
			this->说明TextBox->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->说明TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->客户合同BindingSource, L"说明", true)));
			this->说明TextBox->Location = System::Drawing::Point(313, 84);
			this->说明TextBox->Multiline = true;
			this->说明TextBox->Name = L"说明TextBox";
			this->说明TextBox->Size = System::Drawing::Size(224, 142);
			this->说明TextBox->TabIndex = 33;
			// 
			// 客户合同DataGridView
			// 
			this->客户合同DataGridView->AllowUserToAddRows = false;
			this->客户合同DataGridView->AllowUserToDeleteRows = false;
			this->客户合同DataGridView->AllowUserToResizeRows = false;
			this->客户合同DataGridView->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom) 
				| System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->客户合同DataGridView->AutoGenerateColumns = false;
			this->客户合同DataGridView->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(7) {this->dataGridViewTextBoxColumn1, 
				this->dataGridViewTextBoxColumn2, this->dataGridViewTextBoxColumn3, this->dataGridViewTextBoxColumn4, this->dataGridViewTextBoxColumn5, 
				this->dataGridViewTextBoxColumn6, this->dataGridViewTextBoxColumn7});
			this->客户合同DataGridView->DataSource = this->客户合同BindingSource;
			this->客户合同DataGridView->Location = System::Drawing::Point(4, 232);
			this->客户合同DataGridView->Name = L"客户合同DataGridView";
			this->客户合同DataGridView->RowHeadersVisible = false;
			this->客户合同DataGridView->RowTemplate->Height = 23;
			this->客户合同DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
			this->客户合同DataGridView->Size = System::Drawing::Size(533, 181);
			this->客户合同DataGridView->TabIndex = 19;
			// 
			// bindingNavigatorSeparator2
			// 
			this->bindingNavigatorSeparator2->Name = L"bindingNavigatorSeparator2";
			this->bindingNavigatorSeparator2->Size = System::Drawing::Size(6, 25);
			// 
			// bindingNavigatorAddNewItem
			// 
			this->bindingNavigatorAddNewItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorAddNewItem.Image")));
			this->bindingNavigatorAddNewItem->Name = L"bindingNavigatorAddNewItem";
			this->bindingNavigatorAddNewItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorAddNewItem->Size = System::Drawing::Size(49, 22);
			this->bindingNavigatorAddNewItem->Text = L"新增";
			this->bindingNavigatorAddNewItem->MouseUp += gcnew System::Windows::Forms::MouseEventHandler(this, &ContractForm::bindingNavigatorAddNewItem_MouseUp);
			// 
			// 客户合同BindingNavigator
			// 
			this->客户合同BindingNavigator->AddNewItem = this->bindingNavigatorAddNewItem;
			this->客户合同BindingNavigator->BindingSource = this->客户合同BindingSource;
			this->客户合同BindingNavigator->CountItem = nullptr;
			this->客户合同BindingNavigator->DeleteItem = this->bindingNavigatorDeleteItem;
			this->客户合同BindingNavigator->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(12) {this->toolStripLabel1, 
				this->客户名称ToolStripComboBox, this->查询ToolStripButton, this->bindingNavigatorMoveFirstItem, this->bindingNavigatorMovePreviousItem, 
				this->bindingNavigatorSeparator, this->bindingNavigatorMoveNextItem, this->bindingNavigatorMoveLastItem, this->bindingNavigatorSeparator2, 
				this->bindingNavigatorAddNewItem, this->bindingNavigatorDeleteItem, this->客户合同BindingNavigatorSaveItem});
			this->客户合同BindingNavigator->Location = System::Drawing::Point(0, 0);
			this->客户合同BindingNavigator->MoveFirstItem = this->bindingNavigatorMoveFirstItem;
			this->客户合同BindingNavigator->MoveLastItem = this->bindingNavigatorMoveLastItem;
			this->客户合同BindingNavigator->MoveNextItem = this->bindingNavigatorMoveNextItem;
			this->客户合同BindingNavigator->MovePreviousItem = this->bindingNavigatorMovePreviousItem;
			this->客户合同BindingNavigator->Name = L"客户合同BindingNavigator";
			this->客户合同BindingNavigator->PositionItem = nullptr;
			this->客户合同BindingNavigator->Size = System::Drawing::Size(542, 25);
			this->客户合同BindingNavigator->TabIndex = 18;
			this->客户合同BindingNavigator->Text = L"bindingNavigator1";
			// 
			// bindingNavigatorDeleteItem
			// 
			this->bindingNavigatorDeleteItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorDeleteItem.Image")));

⌨️ 快捷键说明

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