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

📄 dormform.h

📁 有关办公管理的系统
💻 H
📖 第 1 页 / 共 2 页
字号:
			this->dataGridViewTextBoxColumn4->DataPropertyName = L"入住员工";
			this->dataGridViewTextBoxColumn4->HeaderText = L"入住员工";
			this->dataGridViewTextBoxColumn4->Name = L"dataGridViewTextBoxColumn4";
			this->dataGridViewTextBoxColumn4->ReadOnly = true;
			// 
			// bindingNavigatorSeparator
			// 
			this->bindingNavigatorSeparator->Name = L"bindingNavigatorSeparator";
			this->bindingNavigatorSeparator->Size = System::Drawing::Size(6, 25);
			// 
			// 宿舍编号Label
			// 
			宿舍编号Label->AutoSize = true;
			宿舍编号Label->Location = System::Drawing::Point(3, 32);
			宿舍编号Label->Name = L"宿舍编号Label";
			宿舍编号Label->Size = System::Drawing::Size(59, 12);
			宿舍编号Label->TabIndex = 18;
			宿舍编号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(68, 29);
			this->宿舍编号TextBox->Name = L"宿舍编号TextBox";
			this->宿舍编号TextBox->Size = System::Drawing::Size(67, 21);
			this->宿舍编号TextBox->TabIndex = 19;
			// 
			// 室长Label
			// 
			室长Label->AutoSize = true;
			室长Label->Location = System::Drawing::Point(139, 32);
			室长Label->Name = L"室长Label";
			室长Label->Size = System::Drawing::Size(35, 12);
			室长Label->TabIndex = 20;
			室长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(180, 29);
			this->室长TextBox->Name = L"室长TextBox";
			this->室长TextBox->Size = System::Drawing::Size(61, 21);
			this->室长TextBox->TabIndex = 21;
			// 
			// 联系电话Label
			// 
			联系电话Label->AutoSize = true;
			联系电话Label->Location = System::Drawing::Point(248, 32);
			联系电话Label->Name = L"联系电话Label";
			联系电话Label->Size = System::Drawing::Size(59, 12);
			联系电话Label->TabIndex = 22;
			联系电话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(313, 29);
			this->联系电话TextBox->Name = L"联系电话TextBox";
			this->联系电话TextBox->Size = System::Drawing::Size(105, 21);
			this->联系电话TextBox->TabIndex = 23;
			// 
			// 入住员工TextBox
			// 
			this->入住员工TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->集体宿舍管理BindingSource, L"入住员工", true)));
			this->入住员工TextBox->Location = System::Drawing::Point(68, 56);
			this->入住员工TextBox->Name = L"入住员工TextBox";
			this->入住员工TextBox->Size = System::Drawing::Size(353, 21);
			this->入住员工TextBox->TabIndex = 25;
			// 
			// 可住人数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(488, 29);
			this->可住人数TextBox->Name = L"可住人数TextBox";
			this->可住人数TextBox->Size = System::Drawing::Size(50, 21);
			this->可住人数TextBox->TabIndex = 27;
			// 
			// 月租费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(480, 56);
			this->月租费TextBox->Name = L"月租费TextBox";
			this->月租费TextBox->Size = System::Drawing::Size(58, 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(44, 83);
			this->说明TextBox->Name = L"说明TextBox";
			this->说明TextBox->Size = System::Drawing::Size(494, 21);
			this->说明TextBox->TabIndex = 31;
			// 
			// 入住员工Label
			// 
			入住员工Label->AutoSize = true;
			入住员工Label->Location = System::Drawing::Point(3, 59);
			入住员工Label->Name = L"入住员工Label";
			入住员工Label->Size = System::Drawing::Size(59, 12);
			入住员工Label->TabIndex = 24;
			入住员工Label->Text = L"入住员工:";
			// 
			// bindingNavigatorCountItem
			// 
			this->bindingNavigatorCountItem->Name = L"bindingNavigatorCountItem";
			this->bindingNavigatorCountItem->Size = System::Drawing::Size(35, 22);
			this->bindingNavigatorCountItem->Text = L"/ {0}";
			this->bindingNavigatorCountItem->ToolTipText = 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"新增";
			// 
			// 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"删除";
			// 
			// 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"移到上一条记录";
			// 
			// 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"移到第一条记录";
			// 
			// 可住人数Label
			// 
			可住人数Label->AutoSize = true;
			可住人数Label->Location = System::Drawing::Point(423, 32);
			可住人数Label->Name = L"可住人数Label";
			可住人数Label->Size = System::Drawing::Size(59, 12);
			可住人数Label->TabIndex = 26;
			可住人数Label->Text = L"可住人数:";
			// 
			// 月租费Label
			// 
			月租费Label->AutoSize = true;
			月租费Label->Location = System::Drawing::Point(427, 59);
			月租费Label->Name = L"月租费Label";
			月租费Label->Size = System::Drawing::Size(47, 12);
			月租费Label->TabIndex = 28;
			月租费Label->Text = L"月租费:";
			// 
			// 说明Label
			// 
			说明Label->AutoSize = true;
			说明Label->Location = System::Drawing::Point(3, 86);
			说明Label->Name = L"说明Label";
			说明Label->Size = System::Drawing::Size(35, 12);
			说明Label->TabIndex = 30;
			说明Label->Text = L"说明:";
			// 
			// 集体宿舍管理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(5, 110);
			this->集体宿舍管理DataGridView->MultiSelect = false;
			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, 300);
			this->集体宿舍管理DataGridView->TabIndex = 17;
			// 
			// 集体宿舍管理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^  >(12) {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->集体宿舍管理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 = 16;
			this->集体宿舍管理BindingNavigator->Text = L"bindingNavigator1";
			// 
			// DormForm
			// 
			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->室长TextBox);
			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(入住员工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"DormForm";
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
			this->Text = L"集体宿舍管理";
			this->Load += gcnew System::EventHandler(this, &DormForm::DormForm_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 DormForm_Load(System::Object^  sender, System::EventArgs^  e) {
			 // TODO: 这行代码将数据加载到表“MyOfficeDataSet.集体宿舍管理”中。您可以根据需要移动或移除它。
			 this->集体宿舍管理TableAdapter->Fill(this->MyOfficeDataSet->集体宿舍管理);
		 }
};
}

⌨️ 快捷键说明

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