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

📄 ownerform.h

📁 小区物业管理系统
💻 H
📖 第 1 页 / 共 4 页
字号:
			补充说明Label->Name = L"补充说明Label";
			补充说明Label->Size = System::Drawing::Size(59, 12);
			补充说明Label->TabIndex = 61;
			补充说明Label->Text = L"补充说明:";
			// 
			// 补充说明TextBox
			// 
			this->补充说明TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"补充说明", true)));
			this->补充说明TextBox->Location = System::Drawing::Point(209, 123);
			this->补充说明TextBox->Name = L"补充说明TextBox";
			this->补充说明TextBox->Size = System::Drawing::Size(327, 21);
			this->补充说明TextBox->TabIndex = 62;
			this->补充说明TextBox->Text = L"暂无";
			// 
			// 业主姓名TextBox
			// 
			this->业主姓名TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"业主姓名", true)));
			this->业主姓名TextBox->Location = System::Drawing::Point(227, 25);
			this->业主姓名TextBox->Name = L"业主姓名TextBox";
			this->业主姓名TextBox->Size = System::Drawing::Size(79, 21);
			this->业主姓名TextBox->TabIndex = 36;
			// 
			// 身份证号码TextBox
			// 
			this->身份证号码TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"身份证号码", true)));
			this->身份证号码TextBox->Location = System::Drawing::Point(383, 25);
			this->身份证号码TextBox->Name = L"身份证号码TextBox";
			this->身份证号码TextBox->Size = System::Drawing::Size(154, 21);
			this->身份证号码TextBox->TabIndex = 38;
			// 
			// 楼栋名称ComboBox
			// 
			this->楼栋名称ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"楼栋名称", true)));
			this->楼栋名称ComboBox->DataSource = this->楼栋信息BindingSource;
			this->楼栋名称ComboBox->DisplayMember = L"楼栋名称";
			this->楼栋名称ComboBox->FormattingEnabled = true;
			this->楼栋名称ComboBox->Location = System::Drawing::Point(66, 50);
			this->楼栋名称ComboBox->Name = L"楼栋名称ComboBox";
			this->楼栋名称ComboBox->Size = System::Drawing::Size(79, 20);
			this->楼栋名称ComboBox->TabIndex = 40;
			this->楼栋名称ComboBox->ValueMember = L"楼栋名称";
			// 
			// 业主编号TextBox
			// 
			this->业主编号TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"业主编号", true)));
			this->业主编号TextBox->Location = System::Drawing::Point(67, 25);
			this->业主编号TextBox->Name = L"业主编号TextBox";
			this->业主编号TextBox->Size = System::Drawing::Size(96, 21);
			this->业主编号TextBox->TabIndex = 34;
			// 
			// 单元名称TextBox
			// 
			this->单元名称TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"单元名称", true)));
			this->单元名称TextBox->Location = System::Drawing::Point(206, 49);
			this->单元名称TextBox->Name = L"单元名称TextBox";
			this->单元名称TextBox->Size = System::Drawing::Size(56, 21);
			this->单元名称TextBox->TabIndex = 42;
			// 
			// 房号名称TextBox
			// 
			this->房号名称TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"房号名称", true)));
			this->房号名称TextBox->Location = System::Drawing::Point(330, 49);
			this->房号名称TextBox->Name = L"房号名称TextBox";
			this->房号名称TextBox->Size = System::Drawing::Size(67, 21);
			this->房号名称TextBox->TabIndex = 44;
			// 
			// 房屋性质ComboBox
			// 
			this->房屋性质ComboBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"房屋性质", true)));
			this->房屋性质ComboBox->FormattingEnabled = true;
			this->房屋性质ComboBox->Items->AddRange(gcnew cli::array< System::Object^  >(3) {L"住宅", L"商用", L"其他"});
			this->房屋性质ComboBox->Location = System::Drawing::Point(465, 50);
			this->房屋性质ComboBox->Name = L"房屋性质ComboBox";
			this->房屋性质ComboBox->Size = System::Drawing::Size(72, 20);
			this->房屋性质ComboBox->TabIndex = 46;
			// 
			// 房屋类型TextBox
			// 
			this->房屋类型TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"房屋类型", true)));
			this->房屋类型TextBox->Location = System::Drawing::Point(67, 74);
			this->房屋类型TextBox->Name = L"房屋类型TextBox";
			this->房屋类型TextBox->Size = System::Drawing::Size(131, 21);
			this->房屋类型TextBox->TabIndex = 48;
			// 
			// 建筑面积TextBox
			// 
			this->建筑面积TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"建筑面积", true)));
			this->建筑面积TextBox->Location = System::Drawing::Point(292, 74);
			this->建筑面积TextBox->Name = L"建筑面积TextBox";
			this->建筑面积TextBox->Size = System::Drawing::Size(71, 21);
			this->建筑面积TextBox->TabIndex = 50;
			// 
			// 套内面积TextBox
			// 
			this->套内面积TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"套内面积", true)));
			this->套内面积TextBox->Location = System::Drawing::Point(453, 74);
			this->套内面积TextBox->Name = L"套内面积TextBox";
			this->套内面积TextBox->Size = System::Drawing::Size(83, 21);
			this->套内面积TextBox->TabIndex = 52;
			// 
			// 常住人员TextBox
			// 
			this->常住人员TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"常住人员", true)));
			this->常住人员TextBox->Location = System::Drawing::Point(67, 99);
			this->常住人员TextBox->Name = L"常住人员TextBox";
			this->常住人员TextBox->Size = System::Drawing::Size(145, 21);
			this->常住人员TextBox->TabIndex = 54;
			// 
			// 联系电话TextBox
			// 
			this->联系电话TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->业主信息BindingSource, L"联系电话", true)));
			this->联系电话TextBox->Location = System::Drawing::Point(283, 99);
			this->联系电话TextBox->Name = L"联系电话TextBox";
			this->联系电话TextBox->Size = System::Drawing::Size(80, 21);
			this->联系电话TextBox->TabIndex = 56;
			// 
			// 楼栋信息BindingSource
			// 
			this->楼栋信息BindingSource->DataMember = L"楼栋信息";
			this->楼栋信息BindingSource->DataSource = this->DBCommunityDataSet;
			// 
			// 楼栋信息TableAdapter
			// 
			this->楼栋信息TableAdapter->ClearBeforeFill = true;
			// 
			// OwnerForm
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(542, 416);
			this->Controls->Add(this->公共财产DataGridView);
			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(房屋性质Label);
			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->入住日期DateTimePicker);
			this->Controls->Add(当前状态Label);
			this->Controls->Add(this->当前状态ComboBox);
			this->Controls->Add(补充说明Label);
			this->Controls->Add(this->补充说明TextBox);
			this->Controls->Add(this->业主姓名TextBox);
			this->Controls->Add(this->身份证号码TextBox);
			this->Controls->Add(this->楼栋名称ComboBox);
			this->Controls->Add(this->业主编号TextBox);
			this->Controls->Add(this->单元名称TextBox);
			this->Controls->Add(this->房号名称TextBox);
			this->Controls->Add(this->房屋性质ComboBox);
			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->业主信息BindingNavigator);
			this->Name = L"OwnerForm";
			this->ShowInTaskbar = false;
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
			this->Text = L"基本管理[业主登记管理]";
			this->Load += gcnew System::EventHandler(this, &OwnerForm::OwnerForm_Load);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->DBCommunityDataSet))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->业主信息BindingSource))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->业主信息BindingNavigator))->EndInit();
			this->业主信息BindingNavigator->ResumeLayout(false);
			this->业主信息BindingNavigator->PerformLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->公共财产DataGridView))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->楼栋信息BindingSource))->EndInit();
			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->DBCommunityDataSet->业主信息);
	}
	private: System::Void 查询ToolStripButton_Click(System::Object^  sender, System::EventArgs^  e) 
	{
	  try 
	  {
	    this->业主信息TableAdapter->Fill(this->DBCommunityDataSet->业主信息, 业主编号ToolStripTextBox->Text);
	  }
	  catch (System::Exception^ ex) 
	  {
		 System::Windows::Forms::MessageBox::Show(ex->Message);
	  }
	}
	private: System::Void OwnerForm_Load(System::Object^  sender, System::EventArgs^  e) 
	{// TODO: 这行代码将数据加载到表“DBCommunityDataSet.楼栋信息”中
	  this->楼栋信息TableAdapter->Fill(this->DBCommunityDataSet->楼栋信息);
	  try 
	  {
	    this->业主信息TableAdapter->Fill(this->DBCommunityDataSet->业主信息, 业主编号ToolStripTextBox->Text);
	  }
	  catch (System::Exception^ ex) 
	  {
	    System::Windows::Forms::MessageBox::Show(ex->Message);
	  }
	}
  };
}

⌨️ 快捷键说明

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