📄 ownerrepairform.h
字号:
//文件名:OwnerRepairForm.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 MyCommunity {
/// <summary>
/// OwnerRepairForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class OwnerRepairForm : public System::Windows::Forms::Form
{
public:
OwnerRepairForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~OwnerRepairForm()
{
if (components)
{
delete components;
}
}
private: MyCommunity::DBCommunityDataSet^ DBCommunityDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 业主维修BindingSource;
private: MyCommunity::DBCommunityDataSetTableAdapters::业主维修TableAdapter^ 业主维修TableAdapter;
private: System::Windows::Forms::BindingNavigator^ 业主维修BindingNavigator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripButton^ 业主维修BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripLabel^ 维修编号ToolStripLabel;
private: System::Windows::Forms::ToolStripTextBox^ 维修编号ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 打印ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 维修编号DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridView^ 业主维修DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 楼栋名称DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 业主编号DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 业主姓名DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 报修日期DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 接待人员DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 故障现象DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 处理意见DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 修理日期DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 修理人员DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 修理费用DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 材料费用DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 修理结果DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 补充说明DataGridViewTextBoxColumn;
private: System::Windows::Forms::PrintPreviewDialog^ printPreviewDialog1;
private: System::Drawing::Printing::PrintDocument^ printDocument1;
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::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::DateTimePicker^ 修理日期DateTimePicker;
private: System::Windows::Forms::TextBox^ 修理人员TextBox;
private: System::Windows::Forms::TextBox^ 修理费用TextBox;
private: System::Windows::Forms::TextBox^ 材料费用TextBox;
private: System::Windows::Forms::BindingSource^ 楼栋信息BindingSource;
private: MyCommunity::DBCommunityDataSetTableAdapters::楼栋信息TableAdapter^ 楼栋信息TableAdapter;
private: System::Windows::Forms::BindingSource^ 业主信息BindingSource;
private: MyCommunity::DBCommunityDataSetTableAdapters::业主信息TableAdapter^ 业主信息TableAdapter;
private: System::Windows::Forms::ComboBox^ 业主姓名ComboBox;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(OwnerRepairForm::typeid));
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle4 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle5 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle6 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
this->DBCommunityDataSet = (gcnew MyCommunity::DBCommunityDataSet());
this->业主维修BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->业主维修TableAdapter = (gcnew MyCommunity::DBCommunityDataSetTableAdapters::业主维修TableAdapter());
this->业主维修BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->维修编号ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->维修编号ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->业主维修BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->打印ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->维修编号DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->业主维修DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->楼栋名称DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->业主编号DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->业主姓名DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->报修日期DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->接待人员DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->故障现象DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->处理意见DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->修理日期DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->修理人员DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->修理费用DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->材料费用DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->修理结果DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->补充说明DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->printPreviewDialog1 = (gcnew System::Windows::Forms::PrintPreviewDialog());
this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
this->补充说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->修理结果TextBox = (gcnew System::Windows::Forms::TextBox());
this->业主编号TextBox = (gcnew System::Windows::Forms::TextBox());
this->业主信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->报修日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->楼栋名称ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->楼栋信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
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->修理费用TextBox = (gcnew System::Windows::Forms::TextBox());
this->材料费用TextBox = (gcnew System::Windows::Forms::TextBox());
this->楼栋信息TableAdapter = (gcnew MyCommunity::DBCommunityDataSetTableAdapters::楼栋信息TableAdapter());
this->业主信息TableAdapter = (gcnew MyCommunity::DBCommunityDataSetTableAdapters::业主信息TableAdapter());
this->业主姓名ComboBox = (gcnew System::Windows::Forms::ComboBox());
维修编号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());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->DBCommunityDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->业主维修BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->业主维修BindingNavigator))->BeginInit();
this->业主维修BindingNavigator->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->业主维修DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->业主信息BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->楼栋信息BindingSource))->BeginInit();
this->SuspendLayout();
//
// 维修编号Label
//
维修编号Label->AutoSize = true;
维修编号Label->Location = System::Drawing::Point(5, 30);
维修编号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(194, 30);
楼栋名称Label->Name = L"楼栋名称Label";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -