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

📄 buildingform.h

📁 小区物业管理系统
💻 H
📖 第 1 页 / 共 3 页
字号:
//文件名:BuildingForm.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;


using namespace Microsoft::Office::Interop::Excel;
using namespace System::Reflection;

namespace MyCommunity {

	/// <summary>
	/// BuildingForm 摘要
	///
	/// 警告: 如果更改此类的名称,则需要更改
	///          与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
	///          “资源文件名”属性。否则,
	///          设计器将不能与此窗体的关联
	///          本地化资源正确交互。
	/// </summary>
	public ref class BuildingForm : public System::Windows::Forms::Form
	{
	public:
		BuildingForm(void)
		{
			InitializeComponent();
			//
			//TODO: 在此处添加构造函数代码
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~BuildingForm()
		{
			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::ToolStripLabel^  bindingNavigatorCountItem;
	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::ToolStripTextBox^  bindingNavigatorPositionItem;
	private: System::Windows::Forms::ToolStripSeparator^  bindingNavigatorSeparator1;
	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::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::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::TextBox^  住宅户数TextBox;
	private: System::Windows::Forms::ToolStripButton^  打印ToolStripButton;
	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(BuildingForm::typeid));
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle2 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			System::Windows::Forms::DataGridViewCellStyle^  dataGridViewCellStyle3 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
			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;
			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->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
			this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
			this->bindingNavigatorSeparator1 = (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->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
			this->楼栋信息BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
			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->联系电话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->住宅户数TextBox = (gcnew System::Windows::Forms::TextBox());
			this->打印ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
			楼栋名称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();
			this->SuspendLayout();
			// 
			// DBCommunityDataSet
			// 
			this->DBCommunityDataSet->DataSetName = L"DBCommunityDataSet";
			this->DBCommunityDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
			// 
			// 楼栋信息BindingSource
			// 
			this->楼栋信息BindingSource->DataMember = L"楼栋信息";
			this->楼栋信息BindingSource->DataSource = this->DBCommunityDataSet;
			// 
			// 楼栋信息TableAdapter
			// 
			this->楼栋信息TableAdapter->ClearBeforeFill = true;
			// 
			// 楼栋信息BindingNavigator
			// 
			this->楼栋信息BindingNavigator->AddNewItem = this->bindingNavigatorAddNewItem;
			this->楼栋信息BindingNavigator->BindingSource = this->楼栋信息BindingSource;
			this->楼栋信息BindingNavigator->CountItem = this->bindingNavigatorCountItem;
			this->楼栋信息BindingNavigator->DeleteItem = this->bindingNavigatorDeleteItem;
			this->楼栋信息BindingNavigator->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(13) {this->bindingNavigatorMoveFirstItem, 
				this->bindingNavigatorMovePreviousItem, this->bindingNavigatorSeparator, this->bindingNavigatorPositionItem, this->bindingNavigatorCountItem, 
				this->bindingNavigatorSeparator1, this->bindingNavigatorMoveNextItem, this->bindingNavigatorMoveLastItem, this->bindingNavigatorSeparator2, 
				this->bindingNavigatorAddNewItem, this->bindingNavigatorDeleteItem, this->楼栋信息BindingNavigatorSaveItem, this->打印ToolStripButton});
			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 = this->bindingNavigatorPositionItem;
			this->楼栋信息BindingNavigator->Size = System::Drawing::Size(542, 25);
			this->楼栋信息BindingNavigator->TabIndex = 0;
			this->楼栋信息BindingNavigator->Text = L"bindingNavigator1";
			// 
			// bindingNavigatorMoveFirstItem
			// 
			this->bindingNavigatorMoveFirstItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
			this->bindingNavigatorMoveFirstItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorMoveFirstItem.Image")));
			this->bindingNavigatorMoveFirstItem->Name = L"bindingNavigatorMoveFirstItem";
			this->bindingNavigatorMoveFirstItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorMoveFirstItem->Size = System::Drawing::Size(23, 22);
			this->bindingNavigatorMoveFirstItem->Text = L"移到第一条记录";
			// 
			// bindingNavigatorMovePreviousItem
			// 
			this->bindingNavigatorMovePreviousItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
			this->bindingNavigatorMovePreviousItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"bindingNavigatorMovePreviousItem.Image")));
			this->bindingNavigatorMovePreviousItem->Name = L"bindingNavigatorMovePreviousItem";
			this->bindingNavigatorMovePreviousItem->RightToLeftAutoMirrorImage = true;
			this->bindingNavigatorMovePreviousItem->Size = System::Drawing::Size(23, 22);
			this->bindingNavigatorMovePreviousItem->Text = L"移到上一条记录";
			// 
			// bindingNavigatorSeparator
			// 
			this->bindingNavigatorSeparator->Name = L"bindingNavigatorSeparator";
			this->bindingNavigatorSeparator->Size = System::Drawing::Size(6, 25);
			// 
			// bindingNavigatorPositionItem
			// 
			this->bindingNavigatorPositionItem->AccessibleName = L"位置";
			this->bindingNavigatorPositionItem->AutoSize = false;
			this->bindingNavigatorPositionItem->Name = L"bindingNavigatorPositionItem";
			this->bindingNavigatorPositionItem->Size = System::Drawing::Size(50, 21);
			this->bindingNavigatorPositionItem->Text = L"0";
			this->bindingNavigatorPositionItem->ToolTipText = L"当前位置";
			// 
			// bindingNavigatorCountItem

⌨️ 快捷键说明

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