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

📄 complainform.h

📁 vc++开发环境SQL数据库办公事务管理系统
💻 H
📖 第 1 页 / 共 3 页
字号:
			this->投诉主题TextBox->Location = System::Drawing::Point(327, 53);
			this->投诉主题TextBox->Name = L"投诉主题TextBox";
			this->投诉主题TextBox->Size = System::Drawing::Size(211, 21);
			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(446, 27);
			this->受诉部门TextBox->Name = L"受诉部门TextBox";
			this->受诉部门TextBox->Size = System::Drawing::Size(92, 21);
			this->受诉部门TextBox->TabIndex = 31;
			// 
			// 投诉内容TextBox
			// 
			this->投诉内容TextBox->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->投诉内容TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->客户投诉管理BindingSource, L"投诉内容", true)));
			this->投诉内容TextBox->Location = System::Drawing::Point(68, 107);
			this->投诉内容TextBox->Multiline = true;
			this->投诉内容TextBox->Name = L"投诉内容TextBox";
			this->投诉内容TextBox->Size = System::Drawing::Size(470, 85);
			this->投诉内容TextBox->TabIndex = 33;
			// 
			// 领导指示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(68, 80);
			this->领导指示TextBox->Name = L"领导指示TextBox";
			this->领导指示TextBox->Size = System::Drawing::Size(470, 21);
			this->领导指示TextBox->TabIndex = 35;
			// 
			// 处理意见TextBox
			// 
			this->处理意见TextBox->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Bottom | 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(68, 198);
			this->处理意见TextBox->Multiline = true;
			this->处理意见TextBox->Name = L"处理意见TextBox";
			this->处理意见TextBox->Size = System::Drawing::Size(470, 61);
			this->处理意见TextBox->TabIndex = 37;
			// 
			// 说明TextBox
			// 
			this->说明TextBox->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Bottom | 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(44, 265);
			this->说明TextBox->Name = L"说明TextBox";
			this->说明TextBox->Size = System::Drawing::Size(494, 21);
			this->说明TextBox->TabIndex = 39;
			// 
			// bindingNavigatorDeleteItem
			// 
			this->bindingNavigatorDeleteItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorDeleteItem.Image")));
			this->bindingNavigatorDeleteItem->Name = L"bindingNavigatorDeleteItem";
			this->bindingNavigatorDeleteItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorDeleteItem->Size = System::Drawing::Size(49, 22);
			this->bindingNavigatorDeleteItem->Text = L"删除";
			// 
			// 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"新增";
			// 
			// 开始日期ToolStripTextBox
			// 
			this->开始日期ToolStripTextBox->Name = L"开始日期ToolStripTextBox";
			this->开始日期ToolStripTextBox->Size = System::Drawing::Size(100, 25);
			this->开始日期ToolStripTextBox->Text = L"2000-1-1";
			// 
			// toolStripLabel1
			// 
			this->toolStripLabel1->Name = L"toolStripLabel1";
			this->toolStripLabel1->Size = System::Drawing::Size(59, 22);
			this->toolStripLabel1->Text = L"开始日期:";
			// 
			// 客户投诉管理DataGridView
			// 
			this->客户投诉管理DataGridView->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((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^  >(9) {this->dataGridViewTextBoxColumn1, 
				this->dataGridViewTextBoxColumn2, this->dataGridViewTextBoxColumn3, this->dataGridViewTextBoxColumn4, this->dataGridViewTextBoxColumn5, 
				this->dataGridViewTextBoxColumn6, this->dataGridViewTextBoxColumn7, this->dataGridViewTextBoxColumn8, this->dataGridViewTextBoxColumn9});
			this->客户投诉管理DataGridView->DataSource = this->客户投诉管理BindingSource;
			this->客户投诉管理DataGridView->Location = System::Drawing::Point(5, 292);
			this->客户投诉管理DataGridView->Name = L"客户投诉管理DataGridView";
			this->客户投诉管理DataGridView->ReadOnly = true;
			this->客户投诉管理DataGridView->RowHeadersVisible = false;
			this->客户投诉管理DataGridView->RowTemplate->Height = 23;
			this->客户投诉管理DataGridView->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
			this->客户投诉管理DataGridView->Size = System::Drawing::Size(533, 120);
			this->客户投诉管理DataGridView->TabIndex = 21;
			// 
			// 客户投诉管理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^  >(9) {this->toolStripLabel1, 
				this->开始日期ToolStripTextBox, this->toolStripLabel2, this->结束日期ToolStripTextBox, this->查询ToolStripButton, this->bindingNavigatorSeparator2, 
				this->bindingNavigatorAddNewItem, this->bindingNavigatorDeleteItem, this->客户投诉管理BindingNavigatorSaveItem});
			this->客户投诉管理BindingNavigator->Location = System::Drawing::Point(0, 0);
			this->客户投诉管理BindingNavigator->MoveFirstItem = nullptr;
			this->客户投诉管理BindingNavigator->MoveLastItem = nullptr;
			this->客户投诉管理BindingNavigator->MoveNextItem = nullptr;
			this->客户投诉管理BindingNavigator->MovePreviousItem = nullptr;
			this->客户投诉管理BindingNavigator->Name = L"客户投诉管理BindingNavigator";
			this->客户投诉管理BindingNavigator->PositionItem = nullptr;
			this->客户投诉管理BindingNavigator->Size = System::Drawing::Size(542, 25);
			this->客户投诉管理BindingNavigator->TabIndex = 20;
			this->客户投诉管理BindingNavigator->Text = L"bindingNavigator1";
			// 
			// ComplainForm
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(542, 416);
			this->Controls->Add(自编号Label);
			this->Controls->Add(this->自编号TextBox);
			this->Controls->Add(投诉日期Label);
			this->Controls->Add(this->投诉日期DateTimePicker);
			this->Controls->Add(投诉客户Label);
			this->Controls->Add(this->投诉客户TextBox);
			this->Controls->Add(this->投诉主题TextBox);
			this->Controls->Add(this->受诉部门TextBox);
			this->Controls->Add(this->投诉内容TextBox);
			this->Controls->Add(this->领导指示TextBox);
			this->Controls->Add(this->处理意见TextBox);
			this->Controls->Add(this->说明TextBox);
			this->Controls->Add(投诉主题Label);
			this->Controls->Add(受诉部门Label);
			this->Controls->Add(投诉内容Label);
			this->Controls->Add(领导指示Label);
			this->Controls->Add(处理意见Label);
			this->Controls->Add(说明Label);
			this->Controls->Add(this->客户投诉管理DataGridView);
			this->Controls->Add(this->客户投诉管理BindingNavigator);
			this->Name = L"ComplainForm";
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
			this->Text = L"客户投诉管理";
			this->Load += gcnew System::EventHandler(this, &ComplainForm::ComplainForm_Load);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->MyOfficeDataSet))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->客户投诉管理BindingSource))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->客户投诉管理DataGridView))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->客户投诉管理BindingNavigator))->EndInit();
			this->客户投诉管理BindingNavigator->ResumeLayout(false);
			this->客户投诉管理BindingNavigator->PerformLayout();
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
		private: System::Void 客户投诉管理BindingNavigatorSaveItem_Click(System::Object^  sender, System::EventArgs^  e) {
			 this->Validate();
			 this->客户投诉管理BindingSource->EndEdit();
			 this->客户投诉管理TableAdapter->Update(this->MyOfficeDataSet->客户投诉管理);
		 }
		private: System::Void ComplainForm_Load(System::Object^  sender, System::EventArgs^  e) {
			 // TODO: 这行代码将数据加载到表“MyOfficeDataSet.客户投诉管理”中。您可以根据需要移动或移除它。
			 this->客户投诉管理TableAdapter->Fill(this->MyOfficeDataSet->客户投诉管理);
		 }
		private: System::Void 查询ToolStripButton_Click(System::Object^  sender, System::EventArgs^  e) {
			 try 
			 {
				 this->客户投诉管理TableAdapter->FillBy(this->MyOfficeDataSet->客户投诉管理, System::Nullable<System::DateTime >((*cli::safe_cast<System::DateTime^>(System::Convert::ChangeType(开始日期ToolStripTextBox->Text, 
					 System::DateTime::typeid)))), System::Nullable<System::DateTime >((*cli::safe_cast<System::DateTime^>(System::Convert::ChangeType(结束日期ToolStripTextBox->Text, System::DateTime::typeid)))));
			 }
			 catch (System::Exception^ ex) 
			 {
				 System::Windows::Forms::MessageBox::Show(ex->Message);
			 }
		 }
	};
}

⌨️ 快捷键说明

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